Browse Source

Fix `PlayersParser` not properly cleaning `EPlayer` reference

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
a7bb4a84d9
  1. 1
      sources/Commands/PlayersParser.uc

1
sources/Commands/PlayersParser.uc

@ -101,6 +101,7 @@ protected function Finalizer()
public final function SetSelf(EPlayer newSelfPlayer)
{
_.memory.Free(selfPlayer);
selfPlayer = none;
if (newSelfPlayer != none) {
selfPlayer = EPlayer(newSelfPlayer.Copy());
}

Loading…
Cancel
Save