animal race will update more frequently, but animals will move slightly slower. Overall everything will be slightly faster
This commit is contained in:
parent
7c69198bd6
commit
41f1c7aa11
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ public sealed class AnimalRace : IDisposable
|
||||||
{
|
{
|
||||||
foreach (var user in _users)
|
foreach (var user in _users)
|
||||||
{
|
{
|
||||||
user.Progress += rng.Next(1, 11);
|
user.Progress += rng.Next(1, 10);
|
||||||
if (user.Progress >= 60)
|
if (user.Progress >= 60)
|
||||||
user.Progress = 60;
|
user.Progress = 60;
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ public sealed class AnimalRace : IDisposable
|
||||||
FinishedUsers.AddRange(finished);
|
FinishedUsers.AddRange(finished);
|
||||||
|
|
||||||
_ = OnStateUpdate?.Invoke(this);
|
_ = OnStateUpdate?.Invoke(this);
|
||||||
await Task.Delay(2500);
|
await Task.Delay(1750);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FinishedUsers[0].Bet > 0)
|
if (FinishedUsers[0].Bet > 0)
|
||||||
|
|
Loading…
Reference in a new issue