1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 07:03:21 +08:00

Fix beatmap cards still potentially showing twice in listing

This commit is contained in:
Salman Ahmed 2022-11-04 03:20:14 +03:00
parent 37b5f48911
commit ac8fb4f9b2

View File

@ -149,5 +149,8 @@ namespace osu.Game.Online.API.Requests.Responses
#endregion
public bool Equals(IBeatmapSetInfo? other) => other is APIBeatmapSet b && this.MatchesOnlineID(b);
// ReSharper disable once NonReadonlyMemberInGetHashCode
public override int GetHashCode() => OnlineID.GetHashCode();
}
}