diff --git a/src/d_clisrv.c b/src/d_clisrv.c index cd2104080..3ce59761a 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -4783,7 +4783,7 @@ static size_t TotalTextCmdPerTic(tic_t tic) static void PT_ClientJoin(SINT8 node) { // Ignore duplicate packets - if (client || nodeingame[node]|| levelloading) + if (client || nodeingame[node] || levelloading) return; doomdata_t *netbuffer = DOOMCOM_DATA(doomcom); @@ -4920,8 +4920,11 @@ static void PT_ClientJoin(SINT8 node) if (nodewaiting[node]) { - SV_SendSaveGame(node, false); // send a complete game state - DEBFILE("send savegame\n"); + if (node) + { + SV_SendSaveGame(node, false); // send a complete game state + DEBFILE("send savegame\n"); + } SV_AddWaitingPlayers(node); }