Fix mod equality checks not working as intended

This commit is contained in:
Dean Herbert
2019-05-03 10:05:45 +09:00
parent bd0704c575
commit 6bdaca1e3b
5 changed files with 9 additions and 2 deletions

View File

@ -177,6 +177,8 @@ namespace osu.Game.Scoring
protected class DeserializedMod : IMod
{
public string Acronym { get; set; }
public bool Equals(IMod other) => Acronym == other?.Acronym;
}
public override string ToString() => $"{User} playing {Beatmap}";