mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-15 22:21:26 +00:00
Make sure clients never have local_resynchinprogress on when joining a game...
This commit is contained in:
parent
3455791054
commit
0485b4cf5c
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -1474,6 +1474,7 @@ void D_CloseConnection(void)
|
|||
I_NetMakeNodewPort = NULL;
|
||||
netgame = false;
|
||||
addedtogame = false;
|
||||
resynch_local_inprogress = false; // No more resyncing!
|
||||
}
|
||||
|
||||
D_ResetTiccmds();
|
||||
|
|
Loading…
Reference in a new issue