diff options
| author | tpart <tpart120@proton.me> | 2024-07-12 00:49:30 +0200 |
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-07-12 00:49:42 +0200 |
| commit | 6173d3e9a45f17dc92318d11786c5631143808e5 (patch) | |
| tree | 156571ba92601545bfe8f543f0192ecb4bc55d8b /client/menu/main.gd | |
| parent | bcb1105f8103e20e716e9a3cfb9c0d5cb11db765 (diff) | |
| download | hurrycurry-6173d3e9a45f17dc92318d11786c5631143808e5.tar hurrycurry-6173d3e9a45f17dc92318d11786c5631143808e5.tar.bz2 hurrycurry-6173d3e9a45f17dc92318d11786c5631143808e5.tar.zst | |
Add hint system
Diffstat (limited to 'client/menu/main.gd')
| -rw-r--r-- | client/menu/main.gd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/menu/main.gd b/client/menu/main.gd index 9fe026fe..a0ad2ee5 100644 --- a/client/menu/main.gd +++ b/client/menu/main.gd @@ -26,7 +26,7 @@ func _ready(): if OS.has_feature("web"): quit_button.hide() server.hide() - connect_uri.text = Global.profile["last_server_url"] + connect_uri.text = Global.get_profile("last_server_url") func menu_anim_cover(covered): $side.visible = not covered @@ -39,8 +39,7 @@ func _on_credits_pressed(): func _on_connect_pressed(): var url = connect_uri.text - Global.profile["last_server_url"] = url - Global.save_profile() + Global.set_profile("last_server_url", url) connect_to(url) func _on_quick_connect_pressed(): |