1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

Don't attempt to repopulate already populated users on startup (#6923)

Don't attempt to repopulate already populated users on startup

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
Dean Herbert 2019-11-23 22:16:42 +09:00 committed by GitHub
commit 43de9dd3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,8 @@ namespace osu.Game.Tournament
{ {
foreach (var p in t.Players) foreach (var p in t.Players)
{ {
PopulateUser(p); if (p.Username == null || p.Statistics == null)
PopulateUser(p);
addedInfo = true; addedInfo = true;
} }
} }
@ -243,7 +244,6 @@ namespace osu.Game.Tournament
{ {
user.Username = res.Username; user.Username = res.Username;
user.Statistics = res.Statistics; user.Statistics = res.Statistics;
user.Username = res.Username;
user.Country = res.Country; user.Country = res.Country;
user.Cover = res.Cover; user.Cover = res.Cover;