Adding a check for both notehold names in the xml smiley face :D (#660)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user