1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 20:12:57 +08:00

Fix incorrect variable name

This commit is contained in:
Dean Herbert 2018-03-14 10:14:42 +09:00
parent d2a0ca6faa
commit 1d7be2ad0b

View File

@ -51,7 +51,7 @@ namespace osu.Game.Beatmaps.Formats
} }
} }
private bool hasCustomColours; private bool hasComboColours;
private void handleColours(T output, string line) private void handleColours(T output, string line)
{ {
@ -73,11 +73,11 @@ namespace osu.Game.Beatmaps.Formats
{ {
if (!(output is IHasComboColours tHasComboColours)) return; if (!(output is IHasComboColours tHasComboColours)) return;
if (!hasCustomColours) if (!hasComboColours)
{ {
// remove default colours. // remove default colours.
tHasComboColours.ComboColours.Clear(); tHasComboColours.ComboColours.Clear();
hasCustomColours = true; hasComboColours = true;
} }
tHasComboColours.ComboColours.Add(colour); tHasComboColours.ComboColours.Add(colour);