mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Remove unnecessary lookup incrementing
This commit is contained in:
parent
c738a57b39
commit
afa6a86954
@ -92,7 +92,7 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
protected override Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
|
protected override Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
|
||||||
=> Task.FromResult(new User
|
=> Task.FromResult(new User
|
||||||
{
|
{
|
||||||
Id = lookup++,
|
Id = lookup,
|
||||||
Username = usernames[lookup % usernames.Length],
|
Username = usernames[lookup % usernames.Length],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user