diff --git a/mod/content/overtake_probe.script.tl b/mod/content/overtake_probe.script.tl index 9356a2a..928c1fe 100644 --- a/mod/content/overtake_probe.script.tl +++ b/mod/content/overtake_probe.script.tl @@ -43,9 +43,8 @@ local function tryIgnore(follower : Car, leader : Car) mp.dyn.timeToIgnore = IGNORE_SECONDS p(string.format("IGNORE_TEST send veh=%d leader=%d gap=%.1f v=%.2f leaderV=%.2f", follower.v, leader.v, math.abs(leader.pos - follower.pos), follower.speed, leader.speed)) local cmd = api.cmd.debug.makeComponentExchangeCmd(follower.v, mp as Engine.Component) - api.cmd.sendCommand(cmd, function(_data : any, success : boolean) - p(string.format("IGNORE_TEST result veh=%d success=%s", follower.v, tostring(success))) - end) + -- engine-state scripts can't pass a callback ("Error decoding argument #3"); the next dump shows the effect + api.cmd.sendCommand(cmd) end local function dump(dt : number)