mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fix incorrect type check
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user