mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Return true if both ComboColours are null
This commit is contained in:
parent
b39ec74bb8
commit
7e57af3ca4
@ -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) == true && CustomColours.SequenceEqual(other.CustomColours);
|
||||
public bool Equals(SkinConfiguration other) => other != null && ConfigDictionary.SequenceEqual(other.ConfigDictionary) && ((ComboColours == null && other.ComboColours == null) || ComboColours.SequenceEqual(other.ComboColours)) && CustomColours.SequenceEqual(other.CustomColours);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user