mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-25 08:13:45 +00:00
small fix for song instrumental
This commit is contained in:
parent
c0660bd0c2
commit
7c3916cdaf
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue