mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:35:10 +08:00
Ensure beatmap is not disabled before continuing with present
This commit is contained in:
parent
89a05c086c
commit
56397dbea6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user