aboutsummaryrefslogtreecommitdiff
path: root/client/menu/play.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/play.gd')
-rw-r--r--client/menu/play.gd3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd
index 3297aa6d..50e8a633 100644
--- a/client/menu/play.gd
+++ b/client/menu/play.gd
@@ -125,8 +125,7 @@ func _on_quick_connect_pressed():
func connect_to(url: String):
print("Connecting to %s" % url)
- Global.server_url = url
- get_parent().replace_menu("res://menu/game.tscn")
+ get_parent().replace_menu("res://menu/game.tscn", url)
func _on_server_pressed():
match Server.state: