From 3d19199218b72e70e8e5f4ba94c55031eaf08846 Mon Sep 17 00:00:00 2001 From: Alex Amadori Date: Tue, 21 Feb 2017 18:27:39 +0100 Subject: [PATCH] Fixed for star difficulty --- osu.Game/Screens/Select/CarouselContainer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Select/CarouselContainer.cs b/osu.Game/Screens/Select/CarouselContainer.cs index 8a346543ba..f4d2842638 100644 --- a/osu.Game/Screens/Select/CarouselContainer.cs +++ b/osu.Game/Screens/Select/CarouselContainer.cs @@ -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;