1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 07:29:54 +08:00

Rename method

This commit is contained in:
Bartłomiej Dach
2021-09-06 21:27:17 +02:00
Unverified
parent d6a47fd99c
commit bd7d6dd35d
+2 -2
View File
@@ -498,7 +498,7 @@ namespace osu.Game.Screens.Edit
if (isNewBeatmap || HasUnsavedChanges)
{
dialogOverlay?.Push(new PromptForSaveDialog(confirmExit, confirmExitWithSave, cancelPendingDifficultySwitch));
dialogOverlay?.Push(new PromptForSaveDialog(confirmExit, confirmExitWithSave, cancelExit));
return true;
}
}
@@ -750,7 +750,7 @@ namespace osu.Game.Screens.Edit
loader.ScheduleDifficultySwitch(beatmapInfo);
}
private void cancelPendingDifficultySwitch()
private void cancelExit()
{
if (loader == null)
return;