mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 04:49:40 +08:00
Merge pull request #12285 from PercyDan54/fix-score-crash
Fix crash when right clicking online score
This commit is contained in:
commit
288e9d29e1
@ -391,7 +391,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
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
Block a user