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:
parent
30a9887136
commit
c5a76cf1d5
|
@ -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