mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 03:39:53 +08:00
retrun DefaultBeatmap when beatmapset already delete pending
reimplement https://github.com/ppy/osu/pull/22741
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user