mirror of
https://github.com/ppy/osu.git
synced 2025-02-23 01:03:03 +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)
|
if (manager != null)
|
||||||
hideRequested = manager.Hide;
|
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[]
|
Header.Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user