mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Add exception for failing.
This commit is contained in:
parent
5f8baf874d
commit
262a2c9f0e
@ -324,6 +324,9 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override bool OnExiting(Screen next)
|
||||
{
|
||||
if (HasFailed || !ValidForResume)
|
||||
return false;
|
||||
|
||||
if (pauseOverlay != null && !HitRenderer.HasReplayLoaded)
|
||||
{
|
||||
//pause screen override logic.
|
||||
|
Loading…
Reference in New Issue
Block a user