mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Mark Converts
as nullable
This commit is contained in:
@ -168,7 +168,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
if (BeatmapSet != null)
|
||||
{
|
||||
Difficulties.ChildrenEnumerable = BeatmapSet.Beatmaps.Concat(BeatmapSet.Converts)
|
||||
Difficulties.ChildrenEnumerable = BeatmapSet.Beatmaps.Concat(BeatmapSet.Converts ?? Array.Empty<APIBeatmap>())
|
||||
.Where(b => b.Ruleset.MatchesOnlineID(ruleset.Value))
|
||||
.OrderBy(b => !b.Convert)
|
||||
.ThenBy(b => b.StarRating)
|
||||
|
Reference in New Issue
Block a user