Make sure clients never have local_resynchinprogress on when joining a game...

This commit is contained in:
fickleheart 2019-03-25 22:49:37 -05:00
parent 3455791054
commit 0485b4cf5c
2 changed files with 3 additions and 0 deletions

View File

@ -2304,6 +2304,8 @@ static void CL_ConnectToServer(boolean viams)
if (gamestate == GS_VOTING)
Y_EndVote();
resynch_local_inprogress = false; // Just in case this was never cleared...
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
G_SetGamestate(GS_WAITINGPLAYERS);
wipegamestate = GS_WAITINGPLAYERS;

View File

@ -1474,6 +1474,7 @@ void D_CloseConnection(void)
I_NetMakeNodewPort = NULL;
netgame = false;
addedtogame = false;
resynch_local_inprogress = false; // No more resyncing!
}
D_ResetTiccmds();