mirror of https://github.com/ppy/osu
Check if the locally available score has files
This commit is contained in:
parent
ae28d82b2f
commit
bff5ad22f4
|
@ -65,6 +65,6 @@ protected override ScoreInfo CreateModel(ArchiveReader archive)
|
|||
|
||||
protected override ArchiveDownloadRequest<ScoreInfo> CreateDownloadRequest(ScoreInfo score, bool minimiseDownload) => new DownloadReplayRequest(score);
|
||||
|
||||
protected override bool CheckLocalAvailability(ScoreInfo model, IQueryable<ScoreInfo> items) => items.Any(s => s.OnlineScoreID == model.OnlineScoreID);
|
||||
protected override bool CheckLocalAvailability(ScoreInfo model, IQueryable<ScoreInfo> items) => items.Any(s => s.OnlineScoreID == model.OnlineScoreID && s.Files.Any());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue