Fix staggered heat call-out order and extend its shared clock
getEventDrivers followed the drivers directory's internal creation order instead of the order participants were actually selected for the event, so the fallback qualifying/finals grid, the Start List display, and the staggered-release announcer all read out drivers in a scrambled order relative to how the event was actually entered. Fixed to preserve raceConfig.driverIds' own order. Also, a staggered heat's shared clock/auto-finish target only ever counted the flat session duration, not the staggered release schedule itself - so the last-released driver's own personal window could still be running when the session force-finished. The shared clock now widens by (driverCount - 1) * staggerGapSec on top of the base duration for staggered sessions; each driver's own personal quota is unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "rc-racecore",
|
||||
"version": "1.14.0",
|
||||
"version": "1.14.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "rc-racecore",
|
||||
"version": "1.14.0",
|
||||
"version": "1.14.1",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^12.11.1",
|
||||
|
||||
Reference in New Issue
Block a user