diff options
author | nokoe <nokoe@mailbox.org> | 2024-09-28 12:00:48 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-09-28 12:02:43 +0200 |
commit | 04ddfc807a0e275d69e82222c7a7fcb39c979e02 (patch) | |
tree | adbe8ce929bc2fb81914b8b90be4115ddfcef8cc /client/player | |
parent | 045e34f78a498230f39101ce215424fcdcec9eb0 (diff) | |
download | hurrycurry-04ddfc807a0e275d69e82222c7a7fcb39c979e02.tar hurrycurry-04ddfc807a0e275d69e82222c7a7fcb39c979e02.tar.bz2 hurrycurry-04ddfc807a0e275d69e82222c7a7fcb39c979e02.tar.zst |
replace `is_joined` and `join_sent` with `join_state`
Diffstat (limited to 'client/player')
-rw-r--r-- | client/player/controllable_player.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index 0cabcb64..c88941d7 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -43,7 +43,7 @@ func _ready(): add_child(timer) timer.start() timer.connect("timeout", func(): - if game.mp != null and game.join_sent: + if game.mp != null and game.join_state == Game.JoinState.JOINED: game.mp.send_movement(game.player_id, position_, direction, boosting) ) add_child(onscreen_controls) |