From a59ad76ac6bf597657522851043cc50324c389cd Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Wed, 19 Aug 2020 17:03:15 +0700 Subject: [PATCH] Fix wrong variable name in `APLayer.Initialize()` --- sources/Players/APlayer.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Players/APlayer.uc b/sources/Players/APlayer.uc index bb3c3be..8490540 100644 --- a/sources/Players/APlayer.uc +++ b/sources/Players/APlayer.uc @@ -46,8 +46,8 @@ var const class events; */ public final function Initialize(PlayerController newController) { - ownerController = initOwnerController; - identity = _.users.FetchByIDHash(initOwnerController.GetPlayerIDHash()); + ownerController = newController; + identity = _.users.FetchByIDHash(newController.GetPlayerIDHash()); events.static.CallPlayerConnected(self); }