mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
another little fix
This commit is contained in:
parent
30a9887136
commit
c5a76cf1d5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue