mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix nullref
This commit is contained in:
@ -125,7 +125,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
|
||||
scoreTable.Scores = scores?.Count > 1 ? scores : new List<ScoreInfo>();
|
||||
|
||||
if (scores.Any())
|
||||
if (scores?.Any() == true)
|
||||
{
|
||||
topScore.Score = scores.FirstOrDefault();
|
||||
topScore.Show();
|
||||
|
Reference in New Issue
Block a user