1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 11:50:15 +08:00

Add check to ensure MusicController doesn't play a delete pending beatmap's track

This commit is contained in:
Dean Herbert
2020-10-09 13:11:24 +09:00
Unverified
parent 02d45529fc
commit c86b37f60d
+1 -1
View File
@@ -150,7 +150,7 @@ namespace osu.Game.Overlays
{
if (IsUserPaused) return;
if (CurrentTrack.IsDummyDevice)
if (CurrentTrack.IsDummyDevice || beatmap.Value.BeatmapSetInfo.DeletePending)
{
if (beatmap.Disabled)
return;