mirror of https://github.com/ppy/osu
Remove unnecessary null-conditional access
This commit is contained in:
parent
95b1f5830d
commit
793c384ecd
|
@ -166,7 +166,7 @@ private void updateDisplay()
|
|||
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