mirror of
https://github.com/ppy/osu
synced 2024-12-11 01:19:26 +00:00
Remove unnecessary null-conditional access
This commit is contained in:
parent
95b1f5830d
commit
793c384ecd
@ -166,7 +166,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
if (BeatmapSet != null)
|
||||
{
|
||||
Difficulties.ChildrenEnumerable = BeatmapSet.Beatmaps
|
||||
.Where(b => b.Ruleset?.OnlineID == ruleset.Value?.OnlineID)
|
||||
.Where(b => b.Ruleset.OnlineID == ruleset.Value?.OnlineID)
|
||||
.OrderBy(b => b.StarRating)
|
||||
.Select(b => new DifficultySelectorButton(b)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user