mirror of
https://github.com/osukey/osukey.git
synced 2025-07-29 22:25:27 +09:00
Nullcheck
This commit is contained in:
@ -132,8 +132,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
{
|
{
|
||||||
source.Text = b.NewValue?.Metadata.Source ?? string.Empty;
|
source.Text = b.NewValue?.Metadata.Source ?? string.Empty;
|
||||||
tags.Text = b.NewValue?.Metadata.Tags ?? string.Empty;
|
tags.Text = b.NewValue?.Metadata.Tags ?? string.Empty;
|
||||||
genre.Text = b.NewValue?.OnlineInfo.Genre.Name ?? "Unspecified";
|
genre.Text = b.NewValue?.OnlineInfo?.Genre?.Name ?? "Unspecified";
|
||||||
language.Text = b.NewValue?.OnlineInfo.Language.Name ?? "Other";
|
language.Text = b.NewValue?.OnlineInfo?.Language?.Name ?? "Other";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user