Safe checking against ComboColours instead of CustomColours

This commit is contained in:
Craftplacer
2020-08-30 11:37:43 +02:00
parent e428144f73
commit 08321d8dec

View File

@ -51,6 +51,6 @@ namespace osu.Game.Skinning
public readonly SortedDictionary<string, string> ConfigDictionary = new SortedDictionary<string, string>();
public bool Equals(SkinConfiguration other) => other != null && ConfigDictionary.SequenceEqual(other.ConfigDictionary) && ComboColours.SequenceEqual(other.ComboColours) && CustomColours?.SequenceEqual(other.CustomColours) == true;
public bool Equals(SkinConfiguration other) => other != null && ConfigDictionary.SequenceEqual(other.ConfigDictionary) && ComboColours?.SequenceEqual(other.ComboColours) == true && CustomColours.SequenceEqual(other.CustomColours);
}
}