Skip to content

Commit

Permalink
-loop prevention in character editor or others
Browse files Browse the repository at this point in the history
  • Loading branch information
NexIsDumb committed Aug 27, 2024
1 parent 24a65a4 commit 76c9146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/backend/FunkinSprite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class FunkinSprite extends FlxSkewedSprite implements IBeatReceiver implements I
super.update(elapsed);

// hate how it looks like but hey at least its optimized and fast - Nex
if (isAnimFinished()) {
if (!debugMode && isAnimFinished()) {
var name = getAnimName() + '-loop';
if (animation.exists(name))
playAnim(name, false, lastAnimContext);
Expand Down

0 comments on commit 76c9146

Please sign in to comment.