1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

MainMenuManager: fix FIXME (#15414)

This commit is contained in:
wrrrzr
2024-11-12 12:52:37 +03:00
committed by GitHub
parent af61de7777
commit 1c92d6243f
2 changed files with 8 additions and 3 deletions

View File

@@ -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();