mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-22 23:57:50 -05:00
Add Winning support to Legacy Health Icons
This commit is contained in:
parent
25016f45f9
commit
5e130eeffc
1 changed files with 4 additions and 0 deletions
|
@ -373,6 +373,10 @@ class HealthIcon extends FunkinSprite
|
|||
// Don't flip BF's icon here! That's done later.
|
||||
this.animation.add(Idle, [0], 0, false, false);
|
||||
this.animation.add(Losing, [1], 0, false, false);
|
||||
if (animation.numFrames >= 3)
|
||||
{
|
||||
this.animation.add(Winning, [2], 0, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
function correctCharacterId(charId:Null<String>):String
|
||||
|
|
Loading…
Reference in a new issue