aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index cdf4da21e..139742cec 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -1173,6 +1173,10 @@ void Game::shutdown()
if (formspec)
formspec->quitMenu();
+#ifdef HAVE_TOUCHSCREENGUI
+ g_touchscreengui->hide();
+#endif
+
showOverlayMessage(N_("Shutting down..."), 0, 0, false);
if (clouds)