aboutsummaryrefslogtreecommitdiff
path: root/client/settings.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/settings.gd')
-rw-r--r--client/settings.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/settings.gd b/client/settings.gd
index bfa25a00..828ecb62 100644
--- a/client/settings.gd
+++ b/client/settings.gd
@@ -86,6 +86,10 @@ static var change_hooks_apply = {
"audio.sfx_volume": h_volume_sfx,
}
+static func apply_initial():
+ for key in change_hooks_apply.keys():
+ change_hooks_apply[key].call(Global.get_setting(key))
+
static func h_aa(mode):
match mode:
"disabled":