From 1c49c4a6029942c8fa8a07efe18a2a34534597a1 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 12 Nov 2021 18:32:39 +0900 Subject: [PATCH] Fix incorrect type check --- osu.Game/Models/RealmBeatmapSet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Models/RealmBeatmapSet.cs b/osu.Game/Models/RealmBeatmapSet.cs index ddf2cf48fa..3217abb419 100644 --- a/osu.Game/Models/RealmBeatmapSet.cs +++ b/osu.Game/Models/RealmBeatmapSet.cs @@ -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)