1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-19 00:21:11 +00:00

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 (!paused)
{ {
if (FlxG.sound.music != null) // if (FlxG.sound.music != null)
FlxG.sound.music.play(true); // FlxG.sound.music.play(true);
else // else
FlxG.sound.playMusic(Paths.inst(SONG.song), 1, false); FlxG.sound.playMusic(Paths.inst(SONG.song), 1, false);
} }
FlxG.sound.music.onComplete = endSong; FlxG.sound.music.onComplete = endSong;