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
parent 02d45529fc
commit c86b37f60d

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;