1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +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 GitHub
parent 05a53cd330
commit 34ce86a8f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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