mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-20 06:53:00 +00:00
Command_ExitGame_f: Return to title if restoreMenu is NULL
This commit is contained in:
parent
59f9609160
commit
84a98475ff
1 changed files with 9 additions and 2 deletions
|
|
@ -5783,11 +5783,18 @@ void Command_ExitGame_f(void)
|
||||||
closefilemenu(true);
|
closefilemenu(true);
|
||||||
|
|
||||||
if (!modeattacking)
|
if (!modeattacking)
|
||||||
|
{
|
||||||
|
if (restoreMenu == NULL)
|
||||||
|
{
|
||||||
|
D_StartTitle();
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
D_ClearState();
|
D_ClearState();
|
||||||
M_StartControlPanel();
|
M_StartControlPanel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Command_Retry_f(void)
|
void Command_Retry_f(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue