Mob looting fix and dungeon closure.
This commit is contained in:
@@ -546,7 +546,9 @@ func play_death_animation():
|
||||
var frame_count = _animated_sprite.sprite_frames.get_frame_count(death_anim_name)
|
||||
if frame_count > 0:
|
||||
_animated_sprite.frame = frame_count - 1
|
||||
_animated_sprite.stop()
|
||||
print("[Frame] - ", frame_count)
|
||||
print("[Frame] - ", _animated_sprite.frame)
|
||||
#_animated_sprite.stop()
|
||||
else:
|
||||
# No death animation, just fade out the fallback
|
||||
_update_fallback_state("dead")
|
||||
|
||||
Reference in New Issue
Block a user