From 84d6a8ae2ade456f1f4b4e71f2c43b1e4fe980b4 Mon Sep 17 00:00:00 2001 From: TheWildTree Date: Wed, 19 Feb 2020 19:42:56 +0100 Subject: [PATCH] Add null check --- osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs b/osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs index cf7ecd7408..954eada612 100644 --- a/osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs +++ b/osu.Game/Overlays/BeatmapSet/Scores/ScoreTable.cs @@ -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 } });