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.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd
index 2633163e..afc257f3 100644
--- a/client/menu/play.gd
+++ b/client/menu/play.gd
@@ -143,10 +143,10 @@ func _on_editor_control_pressed():
Service.State.FAILED: Editor.start()
func _on_server_connect_pressed():
- connect_to("ws://127.0.0.1:27032/")
+ connect_to("ws://%s:%d" % [Server.connect_address(), Global.get_setting("server.bind_port")])
func _on_editor_connect_pressed():
- connect_to("ws://127.0.0.1:27035/")
+ connect_to("ws://[::1]:27032/")
func _process(_delta):
server_control.disabled = false