mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix possible nullref
This commit is contained in:
@ -62,6 +62,9 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
var newScore = score.NewValue;
|
||||
|
||||
if (newScore == null)
|
||||
return;
|
||||
|
||||
if (newScore.HitEvents == null || newScore.HitEvents.Count == 0)
|
||||
content.Add(new MessagePlaceholder("Score has no statistics :("));
|
||||
else
|
||||
|
Reference in New Issue
Block a user