mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-21 15:44:23 +00:00
Don't make sprites implode while being dragged
This commit is contained in:
parent
4d21559024
commit
8ed5cccabb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue