mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-02-11 14:02:51 +00:00
Fix Options Menu not enabled in transIn
This commit is contained in:
parent
28bee8397e
commit
a73d65757c
|
@ -25,6 +25,8 @@ class OptionsState extends MusicBeatState
|
|||
|
||||
override function create():Void
|
||||
{
|
||||
persistentUpdate = true;
|
||||
|
||||
var menuBG = new FlxSprite().loadGraphic(Paths.image('menuBG'));
|
||||
var hsv = new HSVShader();
|
||||
hsv.hue = -0.6;
|
||||
|
@ -55,8 +57,6 @@ class OptionsState extends MusicBeatState
|
|||
setPage(Controls);
|
||||
}
|
||||
|
||||
// disable for intro transition
|
||||
currentPage.enabled = false;
|
||||
super.create();
|
||||
}
|
||||
|
||||
|
@ -86,13 +86,6 @@ class OptionsState extends MusicBeatState
|
|||
}
|
||||
}
|
||||
|
||||
override function finishTransIn()
|
||||
{
|
||||
super.finishTransIn();
|
||||
|
||||
currentPage.enabled = true;
|
||||
}
|
||||
|
||||
function switchPage(name:PageName)
|
||||
{
|
||||
// TODO: Animate this transition?
|
||||
|
|
Loading…
Reference in a new issue