aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-12 20:25:36 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-12 20:25:36 +0200
commit338e9c2735d0d7f98b56ef57b32d5b35a8b8d15b (patch)
treeec4e390527c5b56eabe0cc1eac06edd2ddb163a0 /client/global.gd
parent59f988087118fd832a6a46f033d73b0981b47c30 (diff)
downloadhurrycurry-338e9c2735d0d7f98b56ef57b32d5b35a8b8d15b.tar
hurrycurry-338e9c2735d0d7f98b56ef57b32d5b35a8b8d15b.tar.bz2
hurrycurry-338e9c2735d0d7f98b56ef57b32d5b35a8b8d15b.tar.zst
fix bug with setting change
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd
index 797152a3..a47cff12 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -210,7 +210,7 @@ func set_setting(key: String, value):
if !settings.has(key):
push_error("Tried to set setting \"%s\", which does not yet exist (missing key)" % key)
return
- if get_setting(value) != value:
+ if get_setting(key) != value:
settings[key].set_value(value)
save_settings()