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

@ -150,6 +150,6 @@ namespace osu.Game.Rulesets.Mods
}
public bool Equals(IMod other) => other is Mod them && Equals(them);
public bool Equals(Mod other) => Acronym == other?.Acronym;
public bool Equals(Mod other) => GetType() == other?.GetType();
}
}