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:
parent
88af36dd10
commit
987277de52
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user