AzaezelX 1 개월 전
부모
커밋
73abc69a82
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript

+ 2 - 2
Templates/BaseGame/game/core/clientServer/scripts/server/connectionToClient.tscript

@@ -364,8 +364,8 @@ function GameConnection::onDrop(%this, %reason)
    {
       %hasGameMode = callGamemodeFunction("onClientLeaveGame", %this);
       // Cleanup the player
-      if (isObject(%client.player))
-         %client.player.delete();
+      if (isObject(%this.player))
+         %this.player.delete();
    }
    
    removeFromServerGuidList( %this.guid );