online multiplayer chess game (note server currently down)
Diffstat (limited to 'networking/Network.gd')
-rw-r--r--networking/Network.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/Network.gd b/networking/Network.gd
index 6c8758c..a1398c7 100644
--- a/networking/Network.gd
+++ b/networking/Network.gd
@@ -28,6 +28,7 @@ signal move_data(data)
signal host_result(result)
signal join_result(result)
signal game_over(problem, isok)
+signal connection_established
const url := "wss://gd-chess-server.herokuapp.com/"
@@ -51,6 +52,7 @@ func ping() -> void:
func _connection_established(_protocol) -> void:
+ emit_signal("connection_established")
print("Connection established")