mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:52:55 +08:00
retrun DefaultBeatmap when beatmapset already delete pending
reimplement https://github.com/ppy/osu/pull/22741
This commit is contained in:
parent
eef63b41da
commit
c07a1ec91e
@ -88,7 +88,7 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public virtual WorkingBeatmap GetWorkingBeatmap(BeatmapInfo beatmapInfo)
|
||||
{
|
||||
if (beatmapInfo?.BeatmapSet == null)
|
||||
if (beatmapInfo?.BeatmapSet == null || beatmapInfo.BeatmapSet?.DeletePending == true)
|
||||
return DefaultBeatmap;
|
||||
|
||||
lock (workingCache)
|
||||
|
Loading…
Reference in New Issue
Block a user