diff options
author | tpart <tpart120@proton.me> | 2024-06-29 20:53:47 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-06-29 20:53:51 +0200 |
commit | 8f63c462dccfa321e33bf4436cb33d845bdca879 (patch) | |
tree | 4ac338e9ae6b29ddc6637158cdd6eeefc86db5ea /client/menu | |
parent | 52dbf26f1e598ad7a095af09cf638b263db7dab0 (diff) | |
download | hurrycurry-8f63c462dccfa321e33bf4436cb33d845bdca879.tar hurrycurry-8f63c462dccfa321e33bf4436cb33d845bdca879.tar.bz2 hurrycurry-8f63c462dccfa321e33bf4436cb33d845bdca879.tar.zst |
Fix apply value is entire dictionary instead of reference; Tweak default presets
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/settings_row.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu/settings_row.gd b/client/menu/settings_row.gd index bfa7064e..879fb363 100644 --- a/client/menu/settings_row.gd +++ b/client/menu/settings_row.gd @@ -32,7 +32,7 @@ func setup(key: String, dict: Dictionary, defaults: Dictionary): for i in setting["options"]: value_node.add_item(i) value_node.select(value) - value_node.connect("item_selected", apply.bind(setting["apply"])) + value_node.connect("item_selected", apply.bind(Global.get(setting["apply"]))) "range": value_node = HSlider.new() value_node.min_value = setting["min"] |