Skip to content

Commit 5610d8a

Browse files
authored
Update Note.hx
1 parent 0a3e2be commit 5610d8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/funkin/game/Note.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ class Note extends FlxSprite
155155
animation.addByPrefix('scroll', 'purple0');
156156
animation.addByPrefix('hold', 'purple hold piece');
157157
animation.addByPrefix('holdend', 'purple hold end');
158-
if (frames.getByName("pruple end hold")) animation.addByPrefix("holdend", "pruple end hold");
158+
if (frames.getByName("pruple end hold") != null)
159+
animation.addByPrefix("holdend", "pruple end hold");
159160
case 1:
160161
animation.addByPrefix('scroll', 'blue0');
161162
animation.addByPrefix('hold', 'blue hold piece');

0 commit comments

Comments
 (0)