1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:13:21 +08:00

beatmapset that already deletePending should not be fetched

This commit is contained in:
cdwcgt 2023-02-26 21:13:05 +09:00
parent d679703fa2
commit a705698ab6

View File

@ -24,6 +24,6 @@ namespace osu.Game.Scoring.Legacy
}
protected override Ruleset GetRuleset(int rulesetId) => rulesets.GetRuleset(rulesetId)?.CreateInstance();
protected override WorkingBeatmap GetBeatmap(string md5Hash) => beatmaps.GetWorkingBeatmap(beatmaps.QueryBeatmap(b => b.MD5Hash == md5Hash));
protected override WorkingBeatmap GetBeatmap(string md5Hash) => beatmaps.GetWorkingBeatmap(beatmaps.QueryBeatmap(b => b.MD5Hash == md5Hash && !b.BeatmapSet.DeletePending));
}
}