Fix potential nullref

This commit is contained in:
Salman Ahmed 2021-05-29 21:22:46 +03:00
parent 200fecc774
commit 53cbf369d7
1 changed files with 1 additions and 1 deletions

View File

@ -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 };
}
}