1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 08:22:56 +08:00

Nullcheck

This commit is contained in:
StanR 2019-08-29 13:25:05 +03:00
parent 68ee7346b2
commit c1c1c7874b

View File

@ -132,8 +132,8 @@ namespace osu.Game.Overlays.BeatmapSet
{
source.Text = b.NewValue?.Metadata.Source ?? string.Empty;
tags.Text = b.NewValue?.Metadata.Tags ?? string.Empty;
genre.Text = b.NewValue?.OnlineInfo.Genre.Name ?? "Unspecified";
language.Text = b.NewValue?.OnlineInfo.Language.Name ?? "Other";
genre.Text = b.NewValue?.OnlineInfo?.Genre?.Name ?? "Unspecified";
language.Text = b.NewValue?.OnlineInfo?.Language?.Name ?? "Other";
};
}