mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Send crosshair setting after the touch screen GUI has been initialized (#12910)
This commit is contained in:
parent
88af36dd10
commit
987277de52
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue