mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-05-13 01:46:08 +08:00
SimConnect sends boolean fields (on_ground, parking_brake, etc.) as 0/1 numbers. The condition evaluator uses strict equality (===), so 0 === false was returning false even when the condition was semantically met. Cast boolean telemetry fields with !! to ensure proper type matching. Also reduce solo-mode telemetry polling from 500ms to 2000ms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>