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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user