Remove nullability from IBeatmapInfo.Metadata

This commit is contained in:
Dean Herbert
2021-11-04 14:25:30 +09:00
parent 0df339d0b8
commit a49366ff84
4 changed files with 6 additions and 10 deletions

View File

@ -119,7 +119,7 @@ namespace osu.Game.Screens.OnlinePlay
authorText.Clear();
if (Item.Beatmap.Value?.Metadata?.Author != null)
if (!string.IsNullOrEmpty(Item.Beatmap.Value?.Metadata.Author))
{
authorText.AddText("mapped by ");
authorText.AddUserLink(new User { Username = Item.Beatmap.Value.Metadata.Author });