Fix bad space
This commit is contained in:
parent
7038d29d87
commit
a6839bc96b
|
@ -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 don’t need to do it
|
||||
player.move_and_slide() # This method calculate with delta, we don’t need to do it.
|
||||
|
||||
if player.velocity == Vector2.ZERO:
|
||||
state_machine.transition_to("Idle")
|
||||
|
|
Loading…
Reference in a new issue