mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
Remove unnecessary re-query of beatmap set in editor menu construction
This commit is contained in:
parent
b91f309879
commit
a3276758b8
@ -776,7 +776,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
fileMenuItems.Add(new EditorMenuItemSpacer());
|
||||
|
||||
var beatmapSet = beatmapManager.QueryBeatmapSet(bs => bs.ID == Beatmap.Value.BeatmapSetInfo.ID) ?? playableBeatmap.BeatmapInfo.BeatmapSet;
|
||||
var beatmapSet = playableBeatmap.BeatmapInfo.BeatmapSet;
|
||||
|
||||
Debug.Assert(beatmapSet != null);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user