Fix incorrect variable name

This commit is contained in:
Dean Herbert 2018-03-14 10:14:42 +09:00
parent d2a0ca6faa
commit 1d7be2ad0b
1 changed files with 3 additions and 3 deletions

View File

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