mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Clear menus in one location.
Fixes a number of weird extra fade and gamestate set events.
This commit is contained in:
parent
033d87fbe1
commit
2d253e0105
2 changed files with 1 additions and 4 deletions
|
|
@ -2031,9 +2031,8 @@ static void CL_ConnectToServer(void)
|
||||||
Y_EndVote();
|
Y_EndVote();
|
||||||
|
|
||||||
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
|
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
|
||||||
|
M_ClearMenus(true);
|
||||||
G_SetGamestate(GS_WAITINGPLAYERS);
|
G_SetGamestate(GS_WAITINGPLAYERS);
|
||||||
if (wipegamestate == GS_MENU)
|
|
||||||
M_ClearMenus(true);
|
|
||||||
wipegamestate = GS_WAITINGPLAYERS;
|
wipegamestate = GS_WAITINGPLAYERS;
|
||||||
|
|
||||||
ClearAdminPlayers();
|
ClearAdminPlayers();
|
||||||
|
|
@ -2347,7 +2346,6 @@ static void Command_connect(void)
|
||||||
SplitScreen_OnChange();
|
SplitScreen_OnChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
M_ClearMenus(true);
|
|
||||||
CL_ConnectToServer();
|
CL_ConnectToServer();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -3844,7 +3844,6 @@ void M_JoinIP(const char *ipa)
|
||||||
}
|
}
|
||||||
|
|
||||||
COM_BufAddText(va("connect \"%s\"\n", ipa));
|
COM_BufAddText(va("connect \"%s\"\n", ipa));
|
||||||
M_ClearMenus(true);
|
|
||||||
|
|
||||||
// A little "please wait" message.
|
// A little "please wait" message.
|
||||||
M_DrawTextBox(56, BASEVIDHEIGHT/2-12, 24, 2);
|
M_DrawTextBox(56, BASEVIDHEIGHT/2-12, 24, 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue