From 57edd370a7fb030ed879a33c0ad3eb4550eab142 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 12 Aug 2020 01:15:03 +0200 Subject: [PATCH] - fixed: When quitting the game, first clear the menu. This is to ensure that the menu stack is empty. Fixes 170 --- source/core/menu/messagebox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/menu/messagebox.cpp b/source/core/menu/messagebox.cpp index 48269fe58..ee3fccf01 100644 --- a/source/core/menu/messagebox.cpp +++ b/source/core/menu/messagebox.cpp @@ -431,6 +431,7 @@ CCMD (menu_endgame) if (res) { STAT_Cancel(); + M_ClearMenus(); gi->QuitToTitle(); } });