mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
- fixed: When quitting the game, first clear the menu.
This is to ensure that the menu stack is empty. Fixes 170
This commit is contained in:
parent
cbfa8abd34
commit
57edd370a7
1 changed files with 1 additions and 0 deletions
|
@ -431,6 +431,7 @@ CCMD (menu_endgame)
|
||||||
if (res)
|
if (res)
|
||||||
{
|
{
|
||||||
STAT_Cancel();
|
STAT_Cancel();
|
||||||
|
M_ClearMenus();
|
||||||
gi->QuitToTitle();
|
gi->QuitToTitle();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue