1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 04:13:00 +08:00

Abort operation on save failure

This commit is contained in:
Dean Herbert 2024-07-11 11:42:06 +09:00
parent b6741ee4ea
commit b0d6c8ca6d
No known key found for this signature in database

View File

@ -1135,7 +1135,8 @@ namespace osu.Game.Screens.Edit
private void editExternally() private void editExternally()
{ {
Save(); if (!Save())
return;
var editOperation = beatmapManager.BeginExternalEditing(editorBeatmap.BeatmapInfo.BeatmapSet!); var editOperation = beatmapManager.BeginExternalEditing(editorBeatmap.BeatmapInfo.BeatmapSet!);
this.Push(new ExternalEditScreen(editOperation, this)); this.Push(new ExternalEditScreen(editOperation, this));