small fix for song instrumental

This commit is contained in:
Cameron Taylor 2021-11-02 10:28:26 -04:00
parent c0660bd0c2
commit 7c3916cdaf

View file

@ -1498,10 +1498,10 @@ class PlayState extends MusicBeatState
if (!paused)
{
if (FlxG.sound.music != null)
FlxG.sound.music.play(true);
else
FlxG.sound.playMusic(Paths.inst(SONG.song), 1, false);
// if (FlxG.sound.music != null)
// FlxG.sound.music.play(true);
// else
FlxG.sound.playMusic(Paths.inst(SONG.song), 1, false);
}
FlxG.sound.music.onComplete = endSong;