Fix wrong checks..

This commit is contained in:
Salman Ahmed
2020-12-28 15:30:52 +03:00
parent 5efcdbd431
commit 41b79d938b
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ namespace osu.Game.Online.API
}
public bool Equals(IMod other) => other is APIMod them && Equals(them);
public bool Equals(APIMod other) => ((IMod)this).Equals(other);
public bool Equals(APIMod other) => Acronym == other?.Acronym;
public override string ToString()
{