swicth animation to change scene

This commit is contained in:
Jonas Mucke
2020-04-19 21:51:38 +02:00
parent ceba6f648c
commit 7b1d57dfb5
2 changed files with 2 additions and 2 deletions

View File

@@ -203,4 +203,4 @@ func movement_run(direction, delta):
func movement_idle():
movementState = moveState.IDLE
velocity = Vector2.ZERO
animation_state.travel("idle")
animation_state.change_scene("idle")