fix: corrections in dragon instantiation
This commit is contained in:
parent
2445a71f0c
commit
44a36a4e67
5 changed files with 12 additions and 400 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue