Tweaked settings and converted client speed to float so its smoother and more natural

This commit is contained in:
2023-01-09 09:47:10 +01:00
parent 99aca49290
commit 1ba25e36da
3 changed files with 27 additions and 18 deletions
+4
View File
@@ -58,6 +58,10 @@ namespace Caisses
TimeOfTheDayInMinuts++;
if (TimeOfTheDayInMinuts % 60 == 0)
{
if (TimeOfTheDayInMinuts >= 24 * 60)
{
TimeOfTheDayInMinuts = 0;
}
//Its a new Hour so we can send the new clients
int amountOfNewCLients = ATTENDANCE[TimeOfTheDayInHours];
FillStore(amountOfNewCLients);