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:
parent
8e273709f1
commit
3d5b57454e
@ -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[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user