Skip to content

Commit 09da78c

Browse files
authored
that should be fine now, hopefully.
1 parent b55fb41 commit 09da78c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/funkin/game/Note.hx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@ class Note extends FlxSprite
154154
case 0:
155155
animation.addByPrefix('scroll', 'purple0');
156156
animation.addByPrefix('hold', 'purple hold piece');
157-
if (frames.getByName("pruple end hold") != null)
158-
animation.addByPrefix("holdend", "pruple end hold");
159-
else
157+
animation.addByPrefix("holdend", "pruple end hold");
158+
if (animation.exists("holdend") != true) // null or false
160159
animation.addByPrefix('holdend', 'purple hold end');
161160
case 1:
162161
animation.addByPrefix('scroll', 'blue0');

0 commit comments

Comments
 (0)