those are redundant

This commit is contained in:
Alug committed 2024-11-29 10:07:20 +01:00
1 parent 6dc304d445
commit aeb31aaabf
1 file changed
+1 -10
+1 -10
View File
@@ -3080,13 +3080,7 @@ void CL_RemovePlayer(INT32 playernum, INT32 reason)
{
SV_InitResynchVars(node); // If a resynch was in progress, well, it no longer needs to be.
nodeingame[node] = false;
#ifdef SATURNPAK
is_client_saturn[node] = false;
#endif
#ifdef SATURNSYNCH
can_receive_gamestate[node] = false;
#endif
nodeingame[node] = false; // do we even need this?
Net_CloseConnection(node);
ResetNode(node);
}
@@ -3189,9 +3183,6 @@ void CL_Reset(void)
if (servernode > 0 && servernode < MAXNETNODES)
{
nodeingame[(UINT8)servernode] = false;
#ifdef SATURNPAK
is_client_saturn[(UINT8)servernode] = false;
#endif
Net_CloseConnection(servernode);
}
D_CloseConnection(); // netgame = false