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