1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

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

This commit is contained in:
Maintainer_ 2024-01-05 04:39:56 +05:00 committed by grorp
parent fe4f89f3fa
commit 81e40a1172
3 changed files with 37 additions and 0 deletions

View file

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