mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Make DeserializedMod equality members match other IMods
This commit is contained in:
parent
41b79d938b
commit
9d9c0df64c
@ -256,7 +256,7 @@ namespace osu.Game.Scoring
|
|||||||
{
|
{
|
||||||
public string Acronym { get; set; }
|
public string Acronym { get; set; }
|
||||||
|
|
||||||
bool IEquatable<IMod>.Equals(IMod other) => other is DeserializedMod them && Equals(them);
|
public bool Equals(IMod other) => other is DeserializedMod them && Equals(them);
|
||||||
public bool Equals(DeserializedMod other) => Acronym == other?.Acronym;
|
public bool Equals(DeserializedMod other) => Acronym == other?.Acronym;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user