mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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();
|
||||
|
||||
DEBFILE(va("waiting %d nodes\n", doomcom->numnodes));
|
||||
M_ClearMenus(true);
|
||||
G_SetGamestate(GS_WAITINGPLAYERS);
|
||||
if (wipegamestate == GS_MENU)
|
||||
M_ClearMenus(true);
|
||||
wipegamestate = GS_WAITINGPLAYERS;
|
||||
|
||||
ClearAdminPlayers();
|
||||
|
|
@ -2347,7 +2346,6 @@ static void Command_connect(void)
|
|||
SplitScreen_OnChange();
|
||||
}
|
||||
|
||||
M_ClearMenus(true);
|
||||
CL_ConnectToServer();
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -3844,7 +3844,6 @@ void M_JoinIP(const char *ipa)
|
|||
}
|
||||
|
||||
COM_BufAddText(va("connect \"%s\"\n", ipa));
|
||||
M_ClearMenus(true);
|
||||
|
||||
// A little "please wait" message.
|
||||
M_DrawTextBox(56, BASEVIDHEIGHT/2-12, 24, 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue