Remove unnecessary null-conditional access

This commit is contained in:
Bartłomiej Dach 2021-11-01 12:02:37 +01:00
parent 95b1f5830d
commit 793c384ecd
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{