More robust metadata handling.

This commit is contained in:
Huo Yaoyuan
2016-11-07 23:12:49 +08:00
parent fd977cacb3
commit ef5968e243
2 changed files with 71 additions and 69 deletions

View File

@ -260,7 +260,7 @@ namespace osu.Game.Overlays
nextToPlay = playList[playListIndex++].Beatmaps[0];
if (playListIndex == playList.Count) playListIndex = 0;
}
while (current?.BeatmapInfo.AudioEquals(nextToPlay) == true);
while (nextToPlay.AudioEquals(current?.BeatmapInfo));
play(nextToPlay, true);
appendToHistory(nextToPlay);