Refetch tournament users on null country rank

This commit is contained in:
Salman Ahmed 2021-03-01 22:42:53 +03:00
parent fe54a51b5a
commit 51a5652666

View File

@ -150,7 +150,9 @@ namespace osu.Game.Tournament
{ {
foreach (var p in t.Players) foreach (var p in t.Players)
{ {
if (string.IsNullOrEmpty(p.Username) || p.Statistics?.GlobalRank == null) if (string.IsNullOrEmpty(p.Username)
|| p.Statistics?.GlobalRank == null
|| p.Statistics?.CountryRank == null)
{ {
PopulateUser(p, immediate: true); PopulateUser(p, immediate: true);
addedInfo = true; addedInfo = true;