diff options
| -rw-r--r-- | client/system/settings.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/system/settings.gd b/client/system/settings.gd index e7f718fb..70c6b505 100644 --- a/client/system/settings.gd +++ b/client/system/settings.gd @@ -134,7 +134,7 @@ static func hook_changed(key: String, slot, callable: Callable): var slot_id = 0 if slot is Node: slot_id = slot.get_instance_id() - slot.tree_exiting.connect(_unhook_changed.bind(key, slot_id)) + slot.tree_exiting.connect(_unhook_changed.bind(key, slot_id), CONNECT_ONE_SHOT) elif slot is String: slot_id = slot.hash() else: |