diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-09-19 16:01:32 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-09-19 16:01:32 +0200 |
| commit | ffc09e14446fb938e727d58c127d5c6d17d22375 (patch) | |
| tree | a404ec31c4ed6eee62468ba17c492fb82e4b7bc2 /client/menu | |
| parent | 2a7652bca3aad446c61bad40f3a1a269dd854bc7 (diff) | |
| download | hurrycurry-ffc09e14446fb938e727d58c127d5c6d17d22375.tar hurrycurry-ffc09e14446fb938e727d58c127d5c6d17d22375.tar.bz2 hurrycurry-ffc09e14446fb938e727d58c127d5c6d17d22375.tar.zst | |
fix constant resetting of hints and setup
Diffstat (limited to 'client/menu')
| -rw-r--r-- | client/menu/play.gd | 2 | ||||
| -rw-r--r-- | client/menu/setup.gd | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd index ded22f9a..ee35975e 100644 --- a/client/menu/play.gd +++ b/client/menu/play.gd @@ -46,9 +46,9 @@ func _on_connect_pressed(): url = url + ":27032" connect_uri.text = url Global.set_profile("last_server_url", url) + Global.save_profile() connect_to(url) - func _on_quick_connect_pressed(): if OS.has_feature("web"): connect_to(JavaScriptBridge.eval(""" diff --git a/client/menu/setup.gd b/client/menu/setup.gd index c87e0112..0622d550 100644 --- a/client/menu/setup.gd +++ b/client/menu/setup.gd @@ -72,6 +72,9 @@ func _on_sign_pressed(): Global.set_profile("username", username.text) Global.set_profile("character", character) + Global.save_profile() Global.set_setting("gameplay.setup_completed", true) + Global.save_settings() + replace_menu("res://menu/main.tscn") |