mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- close the quickload and quicksave confirmation screens after selection.
Fixes #139
This commit is contained in:
parent
c98f7ac491
commit
e702a13ef4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue