1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Fix incorrect type check

This commit is contained in:
Dean Herbert 2021-11-12 18:32:39 +09:00
parent 7349e5521a
commit 1c49c4a602

View File

@ -55,7 +55,7 @@ namespace osu.Game.Models
public bool Equals(IBeatmapSetInfo? other)
{
if (other is RealmBeatmap b)
if (other is RealmBeatmapSet b)
return b.ID == ID;
if (OnlineID > 0 && other?.OnlineID > 0)