From 5b58daa23d139890c7284feb8c9c96057597a946 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Tue, 14 Mar 2017 21:47:31 +0900 Subject: [PATCH] Add check for no combo colours. --- osu.Game.Modes.Osu/Beatmaps/OsuBeatmapProcessor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game.Modes.Osu/Beatmaps/OsuBeatmapProcessor.cs b/osu.Game.Modes.Osu/Beatmaps/OsuBeatmapProcessor.cs index 60f3d31765..1f7785f174 100644 --- a/osu.Game.Modes.Osu/Beatmaps/OsuBeatmapProcessor.cs +++ b/osu.Game.Modes.Osu/Beatmaps/OsuBeatmapProcessor.cs @@ -15,6 +15,9 @@ namespace osu.Game.Modes.Osu.Beatmaps public void PostProcess(Beatmap beatmap) { + if (beatmap.ComboColors.Count == 0) + return; + int comboIndex = 0; int colourIndex = 0;