diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-12 20:25:36 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-12 20:25:36 +0200 |
commit | 338e9c2735d0d7f98b56ef57b32d5b35a8b8d15b (patch) | |
tree | ec4e390527c5b56eabe0cc1eac06edd2ddb163a0 /client/global.gd | |
parent | 59f988087118fd832a6a46f033d73b0981b47c30 (diff) | |
download | hurrycurry-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.gd | 2 |
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() |