Remove useless condition

This commit is contained in:
LJ Sonic 2022-12-30 01:48:26 +01:00
parent ba91520eab
commit f27de6c324

View file

@ -3563,8 +3563,6 @@ static void HandleConnect(SINT8 node)
DEBFILE("new node joined\n"); DEBFILE("new node joined\n");
} }
#ifndef NONET #ifndef NONET
if (netnodes[node].numplayerswaiting)
{
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) && newnode) if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) && newnode)
{ {
SV_SendSaveGame(node, false); // send a complete game state SV_SendSaveGame(node, false); // send a complete game state
@ -3573,7 +3571,6 @@ static void HandleConnect(SINT8 node)
SV_AddWaitingPlayers(names[0], names[1]); SV_AddWaitingPlayers(names[0], names[1]);
joindelay += cv_joindelay.value * TICRATE; joindelay += cv_joindelay.value * TICRATE;
player_joining = true; player_joining = true;
}
#endif #endif
} }
} }