mirror of https://github.com/ppy/osu
Fix beatmap cards still potentially showing twice in listing
This commit is contained in:
parent
37b5f48911
commit
ac8fb4f9b2
|
@ -149,5 +149,8 @@ public string AuthorString
|
|||
#endregion
|
||||
|
||||
public bool Equals(IBeatmapSetInfo? other) => other is APIBeatmapSet b && this.MatchesOnlineID(b);
|
||||
|
||||
// ReSharper disable once NonReadonlyMemberInGetHashCode
|
||||
public override int GetHashCode() => OnlineID.GetHashCode();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue