mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08:00
Nullcheck
This commit is contained in:
parent
68ee7346b2
commit
c1c1c7874b
@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user