mirror of https://github.com/ppy/osu
Fix incorrect check for beatmap availability
This commit is contained in:
parent
9c2d57d707
commit
b1a73996ba
|
@ -165,7 +165,7 @@ protected override bool CanReuseExisting(BeatmapSetInfo existing, BeatmapSetInfo
|
|||
|
||||
public override bool IsAvailableLocally(BeatmapSetInfo model)
|
||||
{
|
||||
return Realm.Run(realm => realm.All<BeatmapInfo>().Any(b => b.OnlineID == model.OnlineID));
|
||||
return Realm.Run(realm => realm.All<BeatmapSetInfo>().Any(b => b.OnlineID == model.OnlineID));
|
||||
}
|
||||
|
||||
public override string HumanisedModelName => "beatmap";
|
||||
|
|
Loading…
Reference in New Issue