mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
Don't get stuck in room menu in a modified game
This commit is contained in:
parent
db24665856
commit
ec369e8d21
1 changed files with 4 additions and 0 deletions
|
@ -8432,7 +8432,11 @@ static void M_ConnectMenu(INT32 choice)
|
|||
// first page of servers
|
||||
serverlistpage = 0;
|
||||
if (ms_RoomId < 0)
|
||||
{
|
||||
M_RoomMenu(0); // Select a room instead of staring at an empty list
|
||||
// This prevents us from returning to the modified game alert.
|
||||
currentMenu->prevMenu = &MP_MainDef;
|
||||
}
|
||||
else
|
||||
M_SetupNextMenu(&MP_ConnectDef);
|
||||
itemOn = 0;
|
||||
|
|
Loading…
Reference in a new issue