parse timingpoints of a map when playing the song, to allow logo pulsing

This commit is contained in:
yugecin 2016-12-18 23:40:58 +01:00
parent ff68145ba3
commit 13e1fb5193

View File

@ -1391,6 +1391,10 @@ public class SongMenu extends BasicGameState {
focusNode = BeatmapSetList.get().getNode(node, beatmapIndex);
Beatmap beatmap = focusNode.getSelectedBeatmap();
if (beatmap.timingPoints == null) {
// parse the timingpoints so we can pulse the main menu logo and bottom right logo in songmenu
BeatmapParser.parseOnlyTimingPoints(beatmap);
}
MusicController.play(beatmap, false, preview);
// load scores