mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fill out username from user ids, rather than user ids from user ids
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user