diff --git a/source/funkin/charting/ChartingState.hx b/source/funkin/charting/ChartingState.hx index ba34f2281..3f19edc07 100644 --- a/source/funkin/charting/ChartingState.hx +++ b/source/funkin/charting/ChartingState.hx @@ -111,6 +111,9 @@ class ChartingState extends MusicBeatState leftIcon.setGraphicSize(0, 45); rightIcon.setGraphicSize(0, 45); + leftIcon.autoUpdate = false; + rightIcon.autoUpdate = false; + add(leftIcon); add(rightIcon); @@ -1133,16 +1136,22 @@ class ChartingState extends MusicBeatState leftIcon.characterId = (_song.player1); rightIcon.characterId = (_song.player2); - leftIcon.animation.curAnim.curFrame = p1Muted ? 1 : 0; - rightIcon.animation.curAnim.curFrame = p2Muted ? 1 : 0; + // leftIcon.animation.curAnim.curFrame = p1Muted ? 1 : 0; + // rightIcon.animation.curAnim.curFrame = p2Muted ? 1 : 0; + + leftIcon.playAnimation(p1Muted ? LOSING : IDLE); + rightIcon.playAnimation(p2Muted ? LOSING : IDLE); } else { leftIcon.characterId = (_song.player2); rightIcon.characterId = (_song.player1); - leftIcon.animation.curAnim.curFrame = p2Muted ? 1 : 0; - rightIcon.animation.curAnim.curFrame = p1Muted ? 1 : 0; + leftIcon.playAnimation(p2Muted ? LOSING : IDLE); + rightIcon.playAnimation(p1Muted ? LOSING : IDLE); + + // leftIcon.animation.curAnim.curFrame = p2Muted ? 1 : 0; + // rightIcon.animation.curAnim.curFrame = p1Muted ? 1 : 0; } leftIcon.setGraphicSize(0, 45); rightIcon.setGraphicSize(0, 45);