mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 13:33:03 +08:00
Fix editor background not being correctly cleaned up on forced exit
Closes #11214. Should be pretty obvious why.
This commit is contained in:
parent
1fa261ef38
commit
83f1350d7d
@ -461,7 +461,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
if (dialogOverlay == null || dialogOverlay.CurrentDialog is PromptForSaveDialog)
|
if (dialogOverlay == null || dialogOverlay.CurrentDialog is PromptForSaveDialog)
|
||||||
{
|
{
|
||||||
confirmExit();
|
confirmExit();
|
||||||
return false;
|
return base.OnExiting(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isNewBeatmap || HasUnsavedChanges)
|
if (isNewBeatmap || HasUnsavedChanges)
|
||||||
|
Loading…
Reference in New Issue
Block a user