mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 12:43:16 +08:00
Only add link if the country name isn't null
This commit is contained in:
parent
520bbcf2e4
commit
e09fbcb05f
@ -73,7 +73,8 @@ namespace osu.Game.Overlays.Rankings.Tables
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
TextAnchor = Anchor.CentreLeft;
|
||||
|
||||
AddLink(country.FullName ?? string.Empty, () => rankings?.ShowCountry(country));
|
||||
if (country.FullName != null)
|
||||
AddLink(country.FullName, () => rankings?.ShowCountry(country));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user