Browse Source

Fix wrong variable name in `APLayer.Initialize()`

pull/8/head
Anton Tarasenko 4 years ago
parent
commit
a59ad76ac6
  1. 4
      sources/Players/APlayer.uc

4
sources/Players/APlayer.uc

@ -46,8 +46,8 @@ var const class<PlayerEvents> 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);
}

Loading…
Cancel
Save