1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-13 22:10:28 +01:00

Send crosshair setting after the touch screen GUI has been initialized (#12910)

This commit is contained in:
Muhammad Rifqi Priyo Susanto 2022-10-31 20:17:50 +07:00 committed by GitHub
parent 88af36dd10
commit 987277de52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))