1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 03:13:45 +00:00

another little fix

This commit is contained in:
gamerbross 2024-09-25 20:11:58 +02:00 committed by Cameron Taylor
parent 30a9887136
commit c5a76cf1d5

View file

@ -1063,6 +1063,7 @@ class CharSelectSubState extends MusicBeatSubState
playerChillOut.visible = true; playerChillOut.visible = true;
playerChillOut.playAnimation("slideout"); playerChillOut.playAnimation("slideout");
var index = playerChillOut.anim.getFrameLabel("slideout").index; var index = playerChillOut.anim.getFrameLabel("slideout").index;
playerChillOut.onAnimationFrame.removeAll();
playerChillOut.onAnimationFrame.add((_, frame:Int) -> { playerChillOut.onAnimationFrame.add((_, frame:Int) -> {
if (frame >= index + 1) if (frame >= index + 1)
{ {