mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 14:50:45 +08:00
Handle additional null case
This commit is contained in:
@@ -207,12 +207,9 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleComboColours(TextWriter writer)
|
||||
{
|
||||
if (beatmapSkin == null)
|
||||
return;
|
||||
var colours = beatmapSkin?.Configuration.ComboColours;
|
||||
|
||||
var colours = beatmapSkin.Configuration.ComboColours;
|
||||
|
||||
if (colours.Count == 0)
|
||||
if (colours == null || colours.Count == 0)
|
||||
return;
|
||||
|
||||
writer.WriteLine("[Colours]");
|
||||
|
||||
Reference in New Issue
Block a user