1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-30 22:38:58 +00:00

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 bd865fb31e
commit ecea8da1f6

View file

@ -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)