move this
This commit is contained in:
1 parent
65cf58dfab
commit
0a7578472e
1 file changed
+3
-3
+3
-3
@@ -3181,6 +3181,9 @@ void CL_RemovePlayer(INT32 playernum, INT32 reason)
|
||||
|
||||
LUAh_PlayerQuit(&players[playernum], reason); // Lua hook for player quitting
|
||||
|
||||
if (playernum == displayplayers[0] && !demo.playback)
|
||||
displayplayers[0] = consoleplayer; // don't look through someone's view who isn't there
|
||||
|
||||
// Reset player data
|
||||
CL_ClearPlayer(playernum);
|
||||
|
||||
@@ -3200,9 +3203,6 @@ void CL_RemovePlayer(INT32 playernum, INT32 reason)
|
||||
RemoveAdminPlayer(playernum); // don't stay admin after you're gone
|
||||
}
|
||||
|
||||
if (playernum == displayplayers[0] && !demo.playback)
|
||||
displayplayers[0] = consoleplayer; // don't look through someone's view who isn't there
|
||||
|
||||
LUA_InvalidatePlayer(&players[playernum]);
|
||||
|
||||
if (G_BattleGametype()) // SRB2Kart
|
||||
|
||||
Reference in new issue
Block a user