mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
Abort operation on save failure
This commit is contained in:
parent
b6741ee4ea
commit
b0d6c8ca6d
@ -1135,7 +1135,8 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
private void editExternally()
|
||||
{
|
||||
Save();
|
||||
if (!Save())
|
||||
return;
|
||||
|
||||
var editOperation = beatmapManager.BeginExternalEditing(editorBeatmap.BeatmapInfo.BeatmapSet!);
|
||||
this.Push(new ExternalEditScreen(editOperation, this));
|
||||
|
Loading…
Reference in New Issue
Block a user