1
0
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:
Dean Herbert 2020-12-21 17:49:10 +09:00
parent 1fa261ef38
commit 83f1350d7d

View File

@ -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)