- 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:
Christoph Oelckers 2020-08-12 01:15:03 +02:00
parent cbfa8abd34
commit 57edd370a7

View file

@ -431,6 +431,7 @@ CCMD (menu_endgame)
if (res)
{
STAT_Cancel();
M_ClearMenus();
gi->QuitToTitle();
}
});