aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
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()