mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 12:37:38 +09: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)
|
public bool Equals(IBeatmapSetInfo? other)
|
||||||
{
|
{
|
||||||
if (other is RealmBeatmap b)
|
if (other is RealmBeatmapSet b)
|
||||||
return b.ID == ID;
|
return b.ID == ID;
|
||||||
|
|
||||||
if (OnlineID > 0 && other?.OnlineID > 0)
|
if (OnlineID > 0 && other?.OnlineID > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user