mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Fill out username from user ids, rather than user ids from user ids
This commit is contained in:
parent
0be2f5ac94
commit
1c6c598644
@ -107,7 +107,7 @@ namespace osu.Game.Tournament
|
||||
// add full player info based on user IDs
|
||||
foreach (var t in Ladder.Teams)
|
||||
foreach (var p in t.Players)
|
||||
if (p.Id == 1)
|
||||
if (string.IsNullOrEmpty(p.Username))
|
||||
{
|
||||
var req = new GetUserRequest(p.Id);
|
||||
req.Success += i => p.Username = i.Username;
|
||||
|
Loading…
Reference in New Issue
Block a user