mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
MainMenuManager: fix FIXME (#15414)
This commit is contained in:
parent
af61de7777
commit
1c92d6243f
2 changed files with 8 additions and 3 deletions
|
@ -1219,8 +1219,7 @@ void Game::shutdown()
|
|||
|
||||
/* cleanup menus */
|
||||
while (g_menumgr.menuCount() > 0) {
|
||||
g_menumgr.m_stack.front()->setVisible(false);
|
||||
g_menumgr.deletingMenu(g_menumgr.m_stack.front());
|
||||
g_menumgr.deleteFront();
|
||||
}
|
||||
|
||||
m_game_ui->deleteFormspec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue