mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 13:23:05 +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
|
// add full player info based on user IDs
|
||||||
foreach (var t in Ladder.Teams)
|
foreach (var t in Ladder.Teams)
|
||||||
foreach (var p in t.Players)
|
foreach (var p in t.Players)
|
||||||
if (p.Id == 1)
|
if (string.IsNullOrEmpty(p.Username))
|
||||||
{
|
{
|
||||||
var req = new GetUserRequest(p.Id);
|
var req = new GetUserRequest(p.Id);
|
||||||
req.Success += i => p.Username = i.Username;
|
req.Success += i => p.Username = i.Username;
|
||||||
|
Loading…
Reference in New Issue
Block a user