1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Remove unnecessary lookup incrementing

This commit is contained in:
Bartłomiej Dach 2020-12-19 19:00:05 +01:00
parent c738a57b39
commit afa6a86954

View File

@ -92,7 +92,7 @@ namespace osu.Game.Tests.Visual.Online
protected override Task<User> ComputeValueAsync(int lookup, CancellationToken token = default)
=> Task.FromResult(new User
{
Id = lookup++,
Id = lookup,
Username = usernames[lookup % usernames.Length],
});
}