- close the quickload and quicksave confirmation screens after selection.

Fixes #139
This commit is contained in:
Christoph Oelckers 2020-10-22 01:01:28 +02:00
parent c98f7ac491
commit e702a13ef4

View file

@ -288,6 +288,7 @@ CCMD(quicksave)
DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, tempstring, 0, false, NAME_None, []() DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, tempstring, 0, false, NAME_None, []()
{ {
M_ClearMenus();
G_SaveGame(savegameManager.quickSaveSlot->Filename, savegameManager.quickSaveSlot->SaveTitle, true, true); 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, []() DMenu* newmenu = CreateMessageBoxMenu(CurrentMenu, tempstring, 0, false, NAME_None, []()
{ {
M_ClearMenus();
G_LoadGame(savegameManager.quickSaveSlot->Filename); G_LoadGame(savegameManager.quickSaveSlot->Filename);
}); });
M_ActivateMenu(newmenu); M_ActivateMenu(newmenu);