mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 23:13:20 +08:00
Remove unused local variable
This commit is contained in:
parent
a38bafab91
commit
f3aad77239
@ -596,7 +596,7 @@ namespace osu.Game.Screens.Edit
|
||||
}
|
||||
|
||||
// if the dialog is already displayed, block exiting until the user explicitly makes a decision.
|
||||
if (dialogOverlay.CurrentDialog is PromptForSaveDialog saveDialog)
|
||||
if (dialogOverlay.CurrentDialog is PromptForSaveDialog)
|
||||
return true;
|
||||
|
||||
if (isNewBeatmap || HasUnsavedChanges)
|
||||
|
Loading…
Reference in New Issue
Block a user