1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:03:22 +08:00

Explicitly add beatmapinfo param to edit call

This commit is contained in:
Joseph Madamba 2023-09-05 18:35:35 -07:00
parent 9565039192
commit 69fa8747f0
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -66,7 +66,7 @@ namespace osu.Game.Screens.Select.FooterV2
addButton(@"Clear all local scores", FontAwesome.Solid.Eraser, () => songSelect?.ClearScores(beatmapWhenOpening.BeatmapInfo), colours.Red1); addButton(@"Clear all local scores", FontAwesome.Solid.Eraser, () => songSelect?.ClearScores(beatmapWhenOpening.BeatmapInfo), colours.Red1);
if (songSelect != null && songSelect.AllowEditing) if (songSelect != null && songSelect.AllowEditing)
addButton(@"Edit beatmap", FontAwesome.Solid.PencilAlt, () => songSelect.Edit()); addButton(@"Edit beatmap", FontAwesome.Solid.PencilAlt, () => songSelect.Edit(beatmapWhenOpening.BeatmapInfo));
} }
protected override void LoadComplete() protected override void LoadComplete()