mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Adjust to reviews
This commit is contained in:
parent
c6a739f5a8
commit
09ef13908c
@ -56,6 +56,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
criteria.Artist.Matches(BeatmapInfo.Metadata.ArtistUnicode);
|
||||
|
||||
match &= criteria.Sort != SortMode.DateRanked || BeatmapInfo.BeatmapSet?.DateRanked != null;
|
||||
match &= criteria.Sort != SortMode.DateSubmitted || BeatmapInfo.BeatmapSet?.DateSubmitted != null;
|
||||
|
||||
match &= !criteria.UserStarDifficulty.HasFilter || criteria.UserStarDifficulty.IsInRange(BeatmapInfo.StarRating);
|
||||
|
||||
|
@ -101,6 +101,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
return compareUsingAggregateMax(otherSet, b => b.StarRating);
|
||||
|
||||
case SortMode.DateSubmitted:
|
||||
// Beatmaps which have no submitted date should already be filtered away in this mode.
|
||||
if (BeatmapSet.DateSubmitted == null || otherSet.BeatmapSet.DateSubmitted == null)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user