mark trade ships plan-driven on spawn

Add `Game.markUnitPlanDriven()` so executions can suppress per-step Unit updates
before the first motion plan is recorded.

Use it in TradeShipExecution to drop the spawn-time placeholder motion plan, and
align TransportShipExecution re-plan `startTick` with `ticksPerMove`.
This commit is contained in:
scamiv
2026-02-27 23:40:09 +01:00
parent 417a21eed7
commit 8292f2627d
4 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ export class TransportShipExecution implements Execution {
kind: "grid",
unitId: this.boat.id(),
planId: this.motionPlanId,
startTick: ticks + 1,
startTick: ticks + this.ticksPerMove,
ticksPerStep: this.ticksPerMove,
path: fullPath,
});