1
0
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:
cdwcgt 2023-08-02 16:09:37 +09:00
parent eef63b41da
commit c07a1ec91e
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

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)