From 02b7e64301d5cb089fd795e4e89358e2c119f12b Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Sat, 27 Jun 2026 17:55:02 -0500 Subject: [PATCH] accidentally forgot to re-define thrustDirections in UpdateGlobalAngularThrust --- main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/main.lua b/main.lua index cf3e2c0..c6713a0 100644 --- a/main.lua +++ b/main.lua @@ -771,6 +771,7 @@ function UpdateGlobalAngularThrust() desiredAngularThrustVectors[f] = CustomSigmoid(v) end + local thrustDirections = {} for f, v in pairs(desiredAngularThrustVectors) do if f == "wx" then if v > 0 then table.insert(thrustDirections, { pitchdown = v }) else table.insert(thrustDirections, { pitchup = math.abs(v) }) end