Fixed song still playing when paused right when song starts
This should be it.
This commit is contained in:
parent
03b8daea35
commit
2f763df9a8
@ -378,10 +378,12 @@ class PlayState extends MusicBeatState
|
||||
|
||||
function startSong():Void
|
||||
{
|
||||
startingSong = false;
|
||||
|
||||
previousFrameTime = FlxG.game.ticks;
|
||||
lastReportedPlayheadPosition = 0;
|
||||
|
||||
startingSong = false;
|
||||
if (!paused)
|
||||
FlxG.sound.playMusic("assets/music/" + SONG.song + "_Inst" + TitleState.soundExt, 1, false);
|
||||
FlxG.sound.music.onComplete = endSong;
|
||||
vocals.play();
|
||||
|
Loading…
x
Reference in New Issue
Block a user