1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 07:09:54 +08:00

Only enable button if there are multiple difficulties

This commit is contained in:
Salman Alshamrani
2024-11-24 00:34:03 -05:00
Unverified
parent 8e20dc7e9d
commit e348b3a7aa
@@ -113,7 +113,7 @@ namespace osu.Game.Screens.Edit.Setup
beatmaps.AddFile(set, stream, newFilename);
working.Value.Metadata.BackgroundFile = newFilename;
updateAllDifficultiesButton.Enabled.Value = true;
updateAllDifficultiesButton.Enabled.Value = set.Beatmaps.Count > 1;
editorBeatmap.SaveState();
@@ -152,7 +152,7 @@ namespace osu.Game.Screens.Edit.Setup
beatmaps.AddFile(set, stream, newFilename);
working.Value.Metadata.AudioFile = newFilename;
updateAllDifficultiesButton.Enabled.Value = true;
updateAllDifficultiesButton.Enabled.Value = set.Beatmaps.Count > 1;
editorBeatmap.SaveState();
music.ReloadCurrentTrack();