Adding a check for both notehold names in the xml smiley face :D (#660)

This commit is contained in:
sen
2025-06-30 08:31:09 -04:00
committed by GitHub
parent 34f2061479
commit 7de52cc288
+1 -1
View File
@@ -154,7 +154,7 @@ class Note extends FlxSprite
case 0:
animation.addByPrefix('scroll', 'purple0');
animation.addByPrefix('hold', 'purple hold piece');
animation.addByPrefix('holdend', 'pruple end hold');
animation.addByPrefix('holdend', frames.getByName('pruple end hold') != null ? 'pruple end hold' : 'purple hold end');
case 1:
animation.addByPrefix('scroll', 'blue0');
animation.addByPrefix('hold', 'blue hold piece');