mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-13 13:15:42 +08:00
backendVariables was a departure-shaped subset, so arrival flows (IFR and VFR) ignored the selected flight and ran on YAML defaults for runway, QNH, surface wind, aircraft type, cruise level and assigned squawk — even though the engine generates them. Forward those (with name mapping qnh_hpa→qnh, acf_type→ aircraft_type, cruise_flight_level→cruise_level). Also fixes taxi/tower on departure, which use runway/qnh/surface_wind. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>