mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix IMod now using reference equality as well
This commit is contained in:
@ -149,6 +149,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
return copy;
|
||||
}
|
||||
|
||||
public bool Equals(Mod other) => GetType() == other?.GetType();
|
||||
public bool Equals(IMod other) => other is Mod them && Equals(them);
|
||||
public bool Equals(Mod other) => Acronym == other?.Acronym;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user