diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-07 11:43:49 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-07 11:43:49 +0200 |
commit | 7144115b819c843e568be449c07c43a5172a5d86 (patch) | |
tree | a1a2d90c95eb652386dba7daa951670b19e2fbca /client/global.gd | |
parent | fff9e4419cfc23c43de187455f193f156b3ab0ab (diff) | |
download | hurrycurry-7144115b819c843e568be449c07c43a5172a5d86.tar hurrycurry-7144115b819c843e568be449c07c43a5172a5d86.tar.bz2 hurrycurry-7144115b819c843e568be449c07c43a5172a5d86.tar.zst |
apply settings after startup
Diffstat (limited to 'client/global.gd')
-rw-r--r-- | client/global.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd index 47d9da06..7629b05d 100644 --- a/client/global.gd +++ b/client/global.gd @@ -55,7 +55,6 @@ var focused_node: Control func _ready(): profile = load_dict("user://profile", default_profile) - settings_tree = Settings.get_root() load_settings("user://settings") get_viewport().gui_focus_changed.connect(Sound.play_hover_maybe) @@ -120,7 +119,9 @@ func load_settings(path: String): else: print("No settings file found.") settings = {} + settings_tree = Settings.get_root() settings_tree.check() + Settings.apply_initial() save_settings() func on_mobile() -> bool: |