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:
parent
0d26ad9ddb
commit
25d2d9ba5c
@ -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))));
|
||||
|
Loading…
Reference in New Issue
Block a user