Fixed some errors

This commit is contained in:
Rendo 2025-12-09 23:54:02 +05:00
commit e6a47a4772
9 changed files with 32 additions and 32 deletions

View file

@ -3,10 +3,12 @@ extends WeaponState
@export var emptyable: bool
func _enter() -> void:
machine.animation_player.play(with_morphems("intro"))
machine.animation_player.animation_finished.connect(on_animation_finished)
func _exit() -> void:
machine.animation_player.animation_finished.disconnect(on_animation_finished)
func on_animation_finished(animation):