remove extra callback (already gets called in _onAnimationComplete() by dispatching the animation name to onAnimationComplete

This commit is contained in:
Abnormal
2025-05-02 13:53:30 -05:00
parent f385cf9fd3
commit c0353bca2b
@@ -319,7 +319,6 @@ class FlxAtlasSprite extends FlxAnimate
else if (fr != null && anim.curFrame != anim.length - 1)
{
anim.curFrame--;
cleanupAnimation(currentAnimation ?? "");
_onAnimationComplete();
}
}