From 9d9376b5a152be9055da6f1d708c3a6f90371dcf Mon Sep 17 00:00:00 2001 From: Jonas Eberle Date: Sat, 27 May 2023 14:45:00 +0200 Subject: [PATCH] Fix initial "isOnGround" --- SlewMode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlewMode.lua b/SlewMode.lua index df293d0..433b93f 100644 --- a/SlewMode.lua +++ b/SlewMode.lua @@ -314,7 +314,7 @@ end local function isOnGround() -- gearsOnGround_dataref won't work while physics off local isOverridePlanepath = XPLMGetDatavi(overridePlanepath_dataref, 0, 1)[0] - if isOverridePlanepath then + if isOverridePlanepath == 1 then return false end