Skip to content

Commit

Permalink
Use title as tiebreaker when sorting beatmap carousel by artist
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Mar 22, 2024
1 parent e2df098 commit a1880e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game/Screens/Select/Carousel/CarouselBeatmapSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public override int CompareTo(FilterCriteria criteria, CarouselItem other)
default:
case SortMode.Artist:
comparison = OrdinalSortByCaseStringComparer.DEFAULT.Compare(BeatmapSet.Metadata.Artist, otherSet.BeatmapSet.Metadata.Artist);
if (comparison == 0)
goto case SortMode.Title;
break;

case SortMode.Title:
Expand Down

0 comments on commit a1880e8

Please sign in to comment.