Fix potential nullref

This commit is contained in:
Salman Ahmed 2021-05-29 21:22:46 +03:00
parent 200fecc774
commit 53cbf369d7

View File

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