mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +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.
|
// navigate to song select if we are not already there.
|
||||||
|
|
||||||
menuScreen.MakeCurrent();
|
menuScreen.MakeCurrent();
|
||||||
|
|
||||||
|
if (Beatmap.Disabled)
|
||||||
|
{
|
||||||
|
// we may need to wait for a lease to be returned.
|
||||||
|
Schedule(() => PresentBeatmap(beatmap));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
menuScreen.LoadToSolo();
|
menuScreen.LoadToSolo();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user