Freeplay song not continuing fade in when exiting freeplay menu

This commit is contained in:
Gede Hari 2020-12-10 08:58:46 +08:00
parent 394e8c663b
commit d4848da042

View file

@ -95,6 +95,11 @@ class MainMenuState extends MusicBeatState
override function update(elapsed:Float)
{
if (FlxG.sound.music.volume < 1)
{
FlxG.sound.music.volume += 0.5 * FlxG.elapsed;
}
if (!selectedSomethin)
{
if (controls.UP_P)