Fix GameUI text staying visible during shutdown. (#14197)

This commit is contained in:
Maintainer_
2024-01-05 04:39:56 +05:00
committed by GitHub
parent 05a53cd330
commit 34ce86a8f5
3 changed files with 37 additions and 0 deletions

View File

@@ -1333,6 +1333,9 @@ void Game::shutdown()
if (formspec)
formspec->quitMenu();
// Clear text when exiting.
m_game_ui->clearText();
#ifdef HAVE_TOUCHSCREENGUI
g_touchscreengui->hide();
#endif