mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-09 00:04:42 +00:00
charting editor head fix
This commit is contained in:
parent
be995f0702
commit
f9f711a179
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue