remove extra callback (already gets called in _onAnimationComplete() by dispatching the animation name to onAnimationComplete
This commit is contained in:
@@ -319,7 +319,6 @@ class FlxAtlasSprite extends FlxAnimate
|
||||
else if (fr != null && anim.curFrame != anim.length - 1)
|
||||
{
|
||||
anim.curFrame--;
|
||||
cleanupAnimation(currentAnimation ?? "");
|
||||
_onAnimationComplete();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user