1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 13:42:56 +08:00

Ensure beatmap is not disabled before continuing with present

This commit is contained in:
Dean Herbert 2019-02-24 12:08:27 +09:00
parent 89a05c086c
commit 56397dbea6

View File

@ -248,6 +248,14 @@ namespace osu.Game
// navigate to song select if we are not already there.
menuScreen.MakeCurrent();
if (Beatmap.Disabled)
{
// we may need to wait for a lease to be returned.
Schedule(() => PresentBeatmap(beatmap));
return;
}
menuScreen.LoadToSolo();
break;
}