mirror of https://github.com/ppy/osu
Fix potential nullref
This commit is contained in:
parent
200fecc774
commit
53cbf369d7
|
@ -71,6 +71,6 @@ public override ISample GetSample(ISampleInfo sampleInfo)
|
|||
}
|
||||
|
||||
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