Freeplay song not continuing fade in when exiting freeplay menu
This commit is contained in:
parent
f9536c9419
commit
a1d01f64b4
@ -95,6 +95,11 @@ class MainMenuState extends MusicBeatState
|
|||||||
|
|
||||||
override function update(elapsed:Float)
|
override function update(elapsed:Float)
|
||||||
{
|
{
|
||||||
|
if (FlxG.sound.music.volume < 1)
|
||||||
|
{
|
||||||
|
FlxG.sound.music.volume += 0.5 * FlxG.elapsed;
|
||||||
|
}
|
||||||
|
|
||||||
if (!selectedSomethin)
|
if (!selectedSomethin)
|
||||||
{
|
{
|
||||||
if (controls.UP_P)
|
if (controls.UP_P)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user