1
0
Fork 0
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:
wrrrzr 2024-11-12 12:52:37 +03:00 committed by GitHub
parent af61de7777
commit 1c92d6243f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();