1
0
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:
cdwcgt
2023-08-02 16:09:37 +09:00
Unverified
parent eef63b41da
commit c07a1ec91e
+1 -1
View File
@@ -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)