1
0
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:
TheWildTree 2020-03-04 17:47:48 +01:00
parent 520bbcf2e4
commit e09fbcb05f

View File

@ -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));
}
}
}