aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-09-30 15:09:16 +0200
committertpart <tpart120@proton.me>2025-09-30 15:09:16 +0200
commitd24c641f303c89e4bfd81876a8208eeab3c4b600 (patch)
treeb51af813061e73e2cf75700ccb69227a17ead898
parent8a93e3570eaa22814608b7e96d9cc20d01f47033 (diff)
downloadhurrycurry-d24c641f303c89e4bfd81876a8208eeab3c4b600.tar
hurrycurry-d24c641f303c89e4bfd81876a8208eeab3c4b600.tar.bz2
hurrycurry-d24c641f303c89e4bfd81876a8208eeab3c4b600.tar.zst
Don't show controls explanation if tutorial is disabled
-rw-r--r--client/system/settings.gd7
1 files changed, 3 insertions, 4 deletions
diff --git a/client/system/settings.gd b/client/system/settings.gd
index 737ab84e..1a257472 100644
--- a/client/system/settings.gd
+++ b/client/system/settings.gd
@@ -198,7 +198,6 @@ static func h_fullscreen(mode: String):
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED)
static func h_tutorial_disabled(val: bool):
- if not val:
- for input_method: String in ["keyboard", "joypad"]:
- for hand_count: String in ["one", "two"]:
- Profile.write("controls_%s_%s_handed_explained" % [input_method, hand_count], false)
+ for input_method: String in ["keyboard", "joypad"]:
+ for hand_count: String in ["one", "two"]:
+ Profile.write("controls_%s_%s_handed_explained" % [input_method, hand_count], val)