Test staying on same difficulty due to unsaved changes

This commit is contained in:
Bartłomiej Dach
2021-09-05 19:11:46 +02:00
parent c72523bc14
commit 382269b362
4 changed files with 68 additions and 10 deletions

View File

@ -9,7 +9,7 @@ namespace osu.Game.Screens.Edit
{
public class PromptForSaveDialog : PopupDialog
{
public PromptForSaveDialog(Action exit, Action saveAndExit)
public PromptForSaveDialog(Action exit, Action saveAndExit, Action cancel)
{
HeaderText = "Did you want to save your changes?";
@ -30,6 +30,7 @@ namespace osu.Game.Screens.Edit
new PopupDialogCancelButton
{
Text = @"Oops, continue editing",
Action = cancel
},
};
}