summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/player/controllable_player.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd
index 016ee637..5dda6a69 100644
--- a/client/player/controllable_player.gd
+++ b/client/player/controllable_player.gd
@@ -42,7 +42,7 @@ func _ready():
add_child(timer)
timer.start()
timer.connect("timeout", func():
- if game.mp != null:
+ if game.mp != null and game.join_sent:
game.mp.send_movement(game.player_id, position_, direction, boosting)
)
add_child(onscreen_controls)