Fix for song not ending

Just a callback that got deleted by mistake last patch. (also sorry for the confusion on the commits, I'm new to all this shit so)
This commit is contained in:
Detoria 2021-03-25 15:54:26 -03:00 committed by GitHub
parent 04d51bb6c0
commit d385c0a865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1130,7 +1130,7 @@ class PlayState extends MusicBeatState
lastReportedPlayheadPosition = 0;
if (!paused)
FlxG.sound.playMusic(Paths.inst(PlayState.SONG.song), 1, false);
FlxG.sound.playMusic(Paths.inst(PlayState.SONG.song), 1, false);
FlxG.sound.music.onComplete = endSong;
vocals.play();
@ -3027,4 +3027,4 @@ class PlayState extends MusicBeatState
}
var curLight:Int = 0;
}
}