mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Add check to ensure MusicController doesn't play a delete pending beatmap's track
This commit is contained in:
parent
02d45529fc
commit
c86b37f60d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user