forked from Mirrorlandia_minetest/minetest
Send crosshair setting after the touch screen GUI has been initialized (#12910)
This commit is contained in:
parent
88af36dd10
commit
987277de52
@ -1407,6 +1407,7 @@ bool Game::createClient(const GameStartData &start_data)
|
|||||||
if (g_touchscreengui) {
|
if (g_touchscreengui) {
|
||||||
g_touchscreengui->init(texture_src);
|
g_touchscreengui->init(texture_src);
|
||||||
g_touchscreengui->hide();
|
g_touchscreengui->hide();
|
||||||
|
g_touchscreengui->setUseCrosshair(!isNoCrosshairAllowed());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (!connectToServer(start_data, &could_connect, &connect_aborted))
|
if (!connectToServer(start_data, &could_connect, &connect_aborted))
|
||||||
|
Loading…
Reference in New Issue
Block a user