From e702a13ef45ef51572974480722184e559cea2ef Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Oct 2020 01:01:28 +0200 Subject: [PATCH] - close the quickload and quicksave confirmation screens after selection. Fixes #139 --- source/core/menu/razemenu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/core/menu/razemenu.cpp b/source/core/menu/razemenu.cpp index 61f18d6e0..7e306ff03 100644 --- a/source/core/menu/razemenu.cpp +++ b/source/core/menu/razemenu.cpp @@ -288,6 +288,7 @@ CCMD(quicksave) DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, tempstring, 0, false, NAME_None, []() { + M_ClearMenus(); G_SaveGame(savegameManager.quickSaveSlot->Filename, savegameManager.quickSaveSlot->SaveTitle, true, true); }); @@ -331,6 +332,7 @@ CCMD(quickload) DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, tempstring, 0, false, NAME_None, []() { + M_ClearMenus(); G_LoadGame(savegameManager.quickSaveSlot->Filename); }); M_ActivateMenu(newmenu);