From f3aad772399cb786147c3adb9b9d487beada0a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Tue, 22 Mar 2022 22:00:24 +0100 Subject: [PATCH] Remove unused local variable --- osu.Game/Screens/Edit/Editor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Edit/Editor.cs b/osu.Game/Screens/Edit/Editor.cs index 4d5e491c60..57f7429e06 100644 --- a/osu.Game/Screens/Edit/Editor.cs +++ b/osu.Game/Screens/Edit/Editor.cs @@ -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)