mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +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>();
|
scoreTable.Scores = scores?.Count > 1 ? scores : new List<ScoreInfo>();
|
||||||
|
|
||||||
if (scores.Any())
|
if (scores?.Any() == true)
|
||||||
{
|
{
|
||||||
topScore.Score = scores.FirstOrDefault();
|
topScore.Score = scores.FirstOrDefault();
|
||||||
topScore.Show();
|
topScore.Show();
|
||||||
|
Reference in New Issue
Block a user