mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 14:16:05 +08:00
8e01936abbe7f91d5d48ef9afa80a1cab9a5cb68
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>
Description
Languages
TypeScript
67.3%
Vue
31.8%
CSS
0.6%
JavaScript
0.3%