aboutsummaryrefslogtreecommitdiff
path: root/client/system
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-08 01:06:00 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-08 01:06:00 +0200
commit826cdb3d2caedb8ba2d79558ac2e4c4e5a9174bd (patch)
treed04b89da48c29d979ebff50cc2fb942e615533ef /client/system
parentfe711a11cfcfeca06c085a56f2e1d5f68a049337 (diff)
downloadhurrycurry-826cdb3d2caedb8ba2d79558ac2e4c4e5a9174bd.tar
hurrycurry-826cdb3d2caedb8ba2d79558ac2e4c4e5a9174bd.tar.bz2
hurrycurry-826cdb3d2caedb8ba2d79558ac2e4c4e5a9174bd.tar.zst
oneshot unhook signal
Diffstat (limited to 'client/system')
-rw-r--r--client/system/settings.gd2
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: