Fix bad space

This commit is contained in:
Mathilde Grapin 2023-06-11 23:47:46 +02:00
parent 7038d29d87
commit a6839bc96b

View file

@ -8,7 +8,7 @@ func physics_update(_delta):
var direction = get_input_direction()
player.velocity = direction * player.speed
player.move_and_slide() # this method calculate with delta, we dont need to do it
player.move_and_slide() # This method calculate with delta, we dont need to do it.
if player.velocity == Vector2.ZERO:
state_machine.transition_to("Idle")