mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
reverse ternary operator
This commit is contained in:
parent
90c313e2ad
commit
1aeae2b8c8
@ -118,7 +118,7 @@ namespace osu.Game.Overlays
|
||||
|
||||
if (fetchOnline)
|
||||
{
|
||||
userReq = user.Username != null ? new GetUserRequest(user.Username) : new GetUserRequest(user.Id);
|
||||
userReq = user.Id > 1 ? new GetUserRequest(user.Id) : new GetUserRequest(user.Username);
|
||||
userReq.Success += userLoadComplete;
|
||||
API.Queue(userReq);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user