mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Handle additional null case
This commit is contained in:
parent
139c0c75f8
commit
8ffaa49839
@ -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]");
|
||||
|
Loading…
Reference in New Issue
Block a user