1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 06:12:55 +08:00

Fix null reference

This commit is contained in:
jkh675 2024-08-21 16:21:49 +08:00
parent 8e273709f1
commit 3d5b57454e

View File

@ -105,7 +105,8 @@ namespace osu.Game.Screens.Select.Carousel
if (manager != null)
hideRequested = manager.Hide;
copyBeatmapSetUrl += () => clipboard.SetText($@"{api.WebsiteRootUrl}/beatmapsets/{beatmapInfo.BeatmapSet.OnlineID}#{beatmapInfo.Ruleset.ShortName}/{beatmapInfo.OnlineID}");
if (beatmapInfo.BeatmapSet != null)
copyBeatmapSetUrl += () => clipboard.SetText($@"{api.WebsiteRootUrl}/beatmapsets/{beatmapInfo.BeatmapSet.OnlineID}#{beatmapInfo.Ruleset.ShortName}/{beatmapInfo.OnlineID}");
Header.Children = new Drawable[]
{