mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Merge branch 'lemme-outa-room-menu' into 'master'
Don't get stuck in room menu in a modified game See merge request KartKrew/Kart-Public!145
This commit is contained in:
commit
bcae3898dd
1 changed files with 4 additions and 0 deletions
|
@ -8432,7 +8432,11 @@ static void M_ConnectMenu(INT32 choice)
|
||||||
// first page of servers
|
// first page of servers
|
||||||
serverlistpage = 0;
|
serverlistpage = 0;
|
||||||
if (ms_RoomId < 0)
|
if (ms_RoomId < 0)
|
||||||
|
{
|
||||||
M_RoomMenu(0); // Select a room instead of staring at an empty list
|
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
|
else
|
||||||
M_SetupNextMenu(&MP_ConnectDef);
|
M_SetupNextMenu(&MP_ConnectDef);
|
||||||
itemOn = 0;
|
itemOn = 0;
|
||||||
|
|
Loading…
Reference in a new issue