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:
parent
7349e5521a
commit
1c49c4a602
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user