fix: corrections in dragon instantiation

This commit is contained in:
Gerard Gascón 2025-04-12 17:23:44 +02:00
parent 2445a71f0c
commit 44a36a4e67
5 changed files with 12 additions and 400 deletions

View file

@ -40,9 +40,7 @@ func walk_right():
func _play_animation(animation_name: String, part: AnimatedSprite2D) -> void:
if !part.is_visible():
return
print(part)
part.play(animation_name)
print(part.is_playing())
func play_idle() -> void: