mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-09 05:29:12 +00:00
Fix Menu Music Not Playing After Freeplay Exit
This commit is contained in:
parent
a702040dfb
commit
302beb2d6e
|
|
@ -2980,6 +2980,8 @@ class FreeplayState extends MusicBeatSubState
|
|||
|
||||
clearPreviews();
|
||||
|
||||
if (FlxG.sound.music != null) FlxG.sound.music.stop();
|
||||
|
||||
if (curSelected == 0)
|
||||
{
|
||||
FunkinSound.playMusic('freeplayRandom',
|
||||
|
|
@ -3054,8 +3056,6 @@ class FreeplayState extends MusicBeatSubState
|
|||
}
|
||||
|
||||
previewTimers = [];
|
||||
|
||||
if (FlxG.sound.music != null) FlxG.sound.music.stop();
|
||||
}
|
||||
|
||||
public function switchBackingImage(?freeplaySongData:FreeplaySongData):Void
|
||||
|
|
|
|||
Loading…
Reference in a new issue