mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- on second thought, better call M_ClearMenus instead of calling Destroy directly.
This commit is contained in:
parent
96d857cd78
commit
06c0dbe71e
1 changed files with 1 additions and 2 deletions
|
@ -143,7 +143,7 @@ DEFINE_ACTION_FUNCTION(FOptionValues, GetText)
|
|||
|
||||
void DeinitMenus()
|
||||
{
|
||||
if (CurrentMenu) CurrentMenu->Destroy();
|
||||
M_ClearMenus();
|
||||
{
|
||||
FOptionMap::Iterator it(OptionValues);
|
||||
|
||||
|
@ -157,7 +157,6 @@ void DeinitMenus()
|
|||
}
|
||||
MenuDescriptors.Clear();
|
||||
OptionValues.Clear();
|
||||
CurrentMenu = nullptr;
|
||||
savegameManager.ClearSaveGames();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue