aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-17 00:25:40 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-17 00:25:43 +0200
commita291e301402a8271c33a9a09d4b5035bf734be3c (patch)
tree983fd66e48b121b3660f21c54a286540ab589f31 /client/global.gd
parent6130b4e67340af360b5907f3b57bbc3ec1aa2d04 (diff)
downloadhurrycurry-a291e301402a8271c33a9a09d4b5035bf734be3c.tar
hurrycurry-a291e301402a8271c33a9a09d4b5035bf734be3c.tar.bz2
hurrycurry-a291e301402a8271c33a9a09d4b5035bf734be3c.tar.zst
Store config files in their proper locations
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/global.gd b/client/global.gd
index 461693ce..23e9756c 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -37,8 +37,8 @@ var focused_node: Control
var focused_menu: Menu # only use this as a last resort, currently exists to open setup menu from settings
func _ready():
- Profile.load("user://profile")
- Settings.load("user://settings.json")
+ Profile.load(OS.get_data_dir().path_join("hurrycurry").path_join("profile"))
+ Settings.load(OS.get_config_dir().path_join("hurrycurry").path_join("settings.json"))
get_viewport().gui_focus_changed.connect(Sound.play_hover_maybe)
get_viewport().gui_focus_changed.connect(func(node): focused_node = node)