[Medium] Animation fix.

This commit is contained in:
Alan Alexander Cerna
2021-11-09 01:34:28 +02:00
parent 88cecda848
commit 10d5d393d3
2 changed files with 79 additions and 53 deletions

View File

@@ -241,7 +241,6 @@ func _physics_process(delta) -> void:
$"weaponHolder/Player-character-theme-gun".position = puppet_weapon_position
weaponAngle = puppet_weapon_angle
direction = puppet_direction
if velocityVDIR.x != 0 and maxMovementSpeed.x == 200:
$player_animated_sprite.play("move-speed-"+direction+"-"+theme)
elif maxMovementSpeed.x > 200 and not characterStates["jumped"]: