1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Convert getMods reference to method group

This commit is contained in:
Joehu 2020-07-11 16:24:57 -07:00
parent 0d26ad9ddb
commit 25d2d9ba5c

View File

@ -377,7 +377,7 @@ namespace osu.Game.Online.Leaderboards
List<MenuItem> items = new List<MenuItem>();
if (score.Mods.Length > 0 && modsContainer.Any(s => s.IsHovered))
items.Add(new OsuMenuItem("Use these mods", MenuItemType.Highlighted, () => getMods()));
items.Add(new OsuMenuItem("Use these mods", MenuItemType.Highlighted, getMods));
if (score.ID != 0)
items.Add(new OsuMenuItem("Delete", MenuItemType.Destructive, () => dialogOverlay?.Push(new LocalScoreDeleteDialog(score))));