mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07: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)
|
private void handleComboColours(TextWriter writer)
|
||||||
{
|
{
|
||||||
if (beatmapSkin == null)
|
var colours = beatmapSkin?.Configuration.ComboColours;
|
||||||
return;
|
|
||||||
|
|
||||||
var colours = beatmapSkin.Configuration.ComboColours;
|
if (colours == null || colours.Count == 0)
|
||||||
|
|
||||||
if (colours.Count == 0)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
writer.WriteLine("[Colours]");
|
writer.WriteLine("[Colours]");
|
||||||
|
Loading…
Reference in New Issue
Block a user