1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

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)
{
if (p.Username == null || p.Statistics == null)
if (string.IsNullOrEmpty(p.Username) || p.Statistics == null)
{
PopulateUser(p);
addedInfo = true;
addedInfo = true;
}
}
}