Only trigger changes if new user information is actually populated

This commit is contained in:
Dean Herbert 2020-03-03 18:11:21 +09:00
parent a2273234cb
commit 372060bc2b

View File

@ -201,9 +201,11 @@ namespace osu.Game.Tournament
{ {
foreach (var p in t.Players) foreach (var p in t.Players)
{ {
if (p.Username == null || p.Statistics == null) if (string.IsNullOrEmpty(p.Username) || p.Statistics == null)
{
PopulateUser(p); PopulateUser(p);
addedInfo = true; addedInfo = true;
}
} }
} }