mirror of https://github.com/ppy/osu
Fix crash
This commit is contained in:
parent
4603c81086
commit
d4724f4494
|
@ -391,7 +391,7 @@ public MenuItem[] ContextMenuItems
|
|||
if (score.Mods.Length > 0 && modsContainer.Any(s => s.IsHovered) && songSelect != null)
|
||||
items.Add(new OsuMenuItem("Use these mods", MenuItemType.Highlighted, () => songSelect.Mods.Value = score.Mods));
|
||||
|
||||
if (score.Files.Count > 0)
|
||||
if (score.Files?.Count > 0)
|
||||
items.Add(new OsuMenuItem("Export", MenuItemType.Standard, () => scoreManager.Export(score)));
|
||||
|
||||
if (score.ID != 0)
|
||||
|
|
Loading…
Reference in New Issue