From 987277de52633208fae027e9d3bd0f7affa79a66 Mon Sep 17 00:00:00 2001 From: Muhammad Rifqi Priyo Susanto Date: Mon, 31 Oct 2022 20:17:50 +0700 Subject: [PATCH] Send crosshair setting after the touch screen GUI has been initialized (#12910) --- src/client/game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/game.cpp b/src/client/game.cpp index cdcfde759..5eb185f86 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1407,6 +1407,7 @@ bool Game::createClient(const GameStartData &start_data) if (g_touchscreengui) { g_touchscreengui->init(texture_src); g_touchscreengui->hide(); + g_touchscreengui->setUseCrosshair(!isNoCrosshairAllowed()); } #endif if (!connectToServer(start_data, &could_connect, &connect_aborted))