mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-30 08:07:52 +00:00
Fix issue where Freeplay could be silent sometimes
This commit is contained in:
parent
40603eaa06
commit
3ede16be16
|
|
@ -164,9 +164,9 @@ class FreeplayState extends MusicBeatSubState
|
||||||
isDebug = true;
|
isDebug = true;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
if (FlxG.sound.music != null)
|
if (FlxG.sound.music == null || (FlxG.sound.music != null && !FlxG.sound.music.playing))
|
||||||
{
|
{
|
||||||
if (!FlxG.sound.music.playing) FlxG.sound.playMusic(Paths.music('freakyMenu/freakyMenu'));
|
FlxG.sound.playMusic(Paths.music('freakyMenu/freakyMenu'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add a null entry that represents the RANDOM option
|
// Add a null entry that represents the RANDOM option
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue