diff --git a/behaviours/sprite_left_right.gd b/behaviours/sprite_left_right.gd index d0fd4d1..74287ca 100644 --- a/behaviours/sprite_left_right.gd +++ b/behaviours/sprite_left_right.gd @@ -9,5 +9,5 @@ class_name SpriteLeftRight func handle_move(movement: Vector2): if movement.x > 0: texture = right_texture - else: + elif movement.x < 0: texture = left_texture