Skip to content

Commit 7de52cc

Browse files
authored
Adding a check for both notehold names in the xml smiley face :D (#660)
1 parent 34f2061 commit 7de52cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/game/Note.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class Note extends FlxSprite
154154
case 0:
155155
animation.addByPrefix('scroll', 'purple0');
156156
animation.addByPrefix('hold', 'purple hold piece');
157-
animation.addByPrefix('holdend', 'pruple end hold');
157+
animation.addByPrefix('holdend', frames.getByName('pruple end hold') != null ? 'pruple end hold' : 'purple hold end');
158158
case 1:
159159
animation.addByPrefix('scroll', 'blue0');
160160
animation.addByPrefix('hold', 'blue hold piece');

0 commit comments

Comments
 (0)