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) public final function Initialize(PlayerController newController)
{ {
ownerController = initOwnerController; ownerController = newController;
identity = _.users.FetchByIDHash(initOwnerController.GetPlayerIDHash()); identity = _.users.FetchByIDHash(newController.GetPlayerIDHash());
events.static.CallPlayerConnected(self); events.static.CallPlayerConnected(self);
} }

Loading…
Cancel
Save