Skip to content

Commit 72e885e

Browse files
committed
Update FlxAnimationController.hx
1 parent db8cf35 commit 72e885e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/flixel/animation/FlxAnimationController.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ class FlxAnimationController implements IFlxDestroyable
772772
final name = frames[0].name;
773773
final postIndex = name.indexOf(".", prefix.length);
774774
final suffix = name.substring(postIndex == -1 ? name.length : postIndex, name.length);
775-
FlxFrame.sort(frames, prefix.length, suffix);
775+
FlxFrame.sort(frames, prefix.length, suffix.length);
776776

777777
for (frame in frames)
778778
{

0 commit comments

Comments
 (0)