fix(Car.java): pos %= loop

This commit is contained in:
2025-11-10 22:46:03 +01:00
parent 9570ed96fd
commit a2f6903542

View File

@@ -73,7 +73,7 @@ public class Car
if (pos >= loop) if (pos >= loop)
{ {
round++; round++;
pos = 0; pos %= loop;
} }
return this; return this;
} }