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
1 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,9 @@ private bool addPlayers()
{
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);
addedInfo = true;