mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00:00
Add null check
This commit is contained in:
parent
7ea67aa672
commit
84d6a8ae2a
@ -147,7 +147,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
{
|
||||
Text = $@"{score.MaxCombo:N0}x",
|
||||
Font = OsuFont.GetFont(size: text_size),
|
||||
Colour = score.MaxCombo == score.Beatmap.MaxCombo ? highAccuracyColour : Color4.White
|
||||
Colour = score.MaxCombo == score.Beatmap?.MaxCombo ? highAccuracyColour : Color4.White
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user