aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd
index eb338eaa..52856898 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -25,6 +25,7 @@ var marker_target = Vector3(0,0,0)
var players := {}
# Called when the node enters the scene tree for the first time.
func _ready():
+ Multiplayer.connect_client()
await Multiplayer.init
if Multiplayer.player_id == -1:
push_error("multiplayer has not been initialized")