Skip to content

Commit

Permalink
Fix initial "isOnGround"
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaseberle committed May 27, 2023
1 parent eebefc6 commit 9d9376b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlewMode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d9376b

Please sign in to comment.