Skip to content

Commit

Permalink
Fix incorrect type check
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 12, 2021
1 parent 7349e55 commit 1c49c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Models/RealmBeatmapSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class RealmBeatmapSet : RealmObject, IHasGuidPrimaryKey, IHasRealmFiles,

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)
Expand Down

0 comments on commit 1c49c4a

Please sign in to comment.