diff options
| author | nokoe <nokoe@mailbox.org> | 2024-06-23 22:22:10 +0200 |
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-06-23 22:22:44 +0200 |
| commit | a81020eb81a0fa44f6641f47bd1eeda786cc8f71 (patch) | |
| tree | b9e49d33d3025c9ab43a85866b2c614268a4cf65 /client/game.gd | |
| parent | 485ca41108d22be82755151c1a3e596789eafbeb (diff) | |
| download | hurrycurry-a81020eb81a0fa44f6641f47bd1eeda786cc8f71.tar hurrycurry-a81020eb81a0fa44f6641f47bd1eeda786cc8f71.tar.bz2 hurrycurry-a81020eb81a0fa44f6641f47bd1eeda786cc8f71.tar.zst | |
fix scripts
Diffstat (limited to 'client/game.gd')
| -rw-r--r-- | client/game.gd | 1 |
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") |