-loop prevention in character editor or others

This commit is contained in:
⍚~Nex
2024-08-27 02:38:40 +02:00
parent 24a65a4a8a
commit 76c9146194
+1 -1
View File
@@ -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);