1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:42:54 +08:00

Remove unused local variable

This commit is contained in:
Bartłomiej Dach 2022-03-22 22:00:24 +01:00
parent a38bafab91
commit f3aad77239
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

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