Rename method

This commit is contained in:
Bartłomiej Dach 2021-09-06 21:27:17 +02:00
parent d6a47fd99c
commit bd7d6dd35d
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -498,7 +498,7 @@ namespace osu.Game.Screens.Edit
if (isNewBeatmap || HasUnsavedChanges) if (isNewBeatmap || HasUnsavedChanges)
{ {
dialogOverlay?.Push(new PromptForSaveDialog(confirmExit, confirmExitWithSave, cancelPendingDifficultySwitch)); dialogOverlay?.Push(new PromptForSaveDialog(confirmExit, confirmExitWithSave, cancelExit));
return true; return true;
} }
} }
@ -750,7 +750,7 @@ namespace osu.Game.Screens.Edit
loader.ScheduleDifficultySwitch(beatmapInfo); loader.ScheduleDifficultySwitch(beatmapInfo);
} }
private void cancelPendingDifficultySwitch() private void cancelExit()
{ {
if (loader == null) if (loader == null)
return; return;