1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 23:22:55 +08:00

Fixed for star difficulty

This commit is contained in:
Alex Amadori 2017-02-21 18:27:39 +01:00
parent 6c161fb167
commit 3d19199218

View File

@ -202,8 +202,8 @@ namespace osu.Game.Screens.Select
/*TODO: replace with star rating once implemented
* Assumes BeatmapSets not to be grouped - or to be by difficulty,
* otherwise this sorting makes little sense - or does it? */
if (x.BeatmapSet.Beatmaps.First().BaseDifficulty.OverallDifficulty >
y.BeatmapSet.Beatmaps.First().BaseDifficulty.OverallDifficulty)
if (x.BeatmapSet.Beatmaps.First().StarDifficulty >
y.BeatmapSet.Beatmaps.First().StarDifficulty)
return 1;
else
return -1;