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:
parent
05a53cd330
commit
34ce86a8f5
3 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue