In data-updates.lua, change this block (lines 45-47)
-- Dust particle trails
local track_particles = table.deepcopy(data.raw.car.car.track_particle_triggers[3].actions) -- sand dust
local tire_dust = table.deepcopy(spidertron.spider_engine.legs[1].leg_hit_the_ground_trigger[1])
to
-- Dust particle trails
local track_particles, tire_dust, p, s
p = data.raw.car.car.track_particle_triggers
if p and p[3] then
track_particles = table.deepcopy(p[3].actions) -- sand dust
end
s = spidertron.spider_engine
if s and s.legs and s.legs[1] and s.legs[1].leg_hit_the_ground_trigger then
tire_dust = table.deepcopy(s.legs[1].leg_hit_the_ground_trigger[1])
end
This will check step by step whether a table exists before trying to access any values in it.