mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:33:02 +08:00
Fix missed null consideration
This commit is contained in:
parent
fe9b8f3274
commit
47914c49ba
@ -91,7 +91,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
|||||||
{
|
{
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = $"{Score.Beatmap.DifficultyName}",
|
Text = $"{Score.Beatmap?.DifficultyName}",
|
||||||
Font = OsuFont.GetFont(size: 12, weight: FontWeight.Regular),
|
Font = OsuFont.GetFont(size: 12, weight: FontWeight.Regular),
|
||||||
Colour = colours.Yellow
|
Colour = colours.Yellow
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user