mirror of
https://github.com/ppy/osu
synced 2024-12-28 09:52:56 +00:00
Fix potential nullref
This commit is contained in:
parent
200fecc774
commit
53cbf369d7
@ -71,6 +71,6 @@ namespace osu.Game.Skinning
|
||||
}
|
||||
|
||||
private static SkinInfo createSkinInfo(BeatmapInfo beatmap) =>
|
||||
new SkinInfo { Name = beatmap.ToString(), Creator = beatmap.Metadata.Author.ToString() };
|
||||
new SkinInfo { Name = beatmap.ToString(), Creator = beatmap.Metadata?.AuthorString };
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user