diff --git a/main.lua b/main.lua index 28d4c56..803e41c 100644 --- a/main.lua +++ b/main.lua @@ -866,10 +866,10 @@ function UpdateGlobalThrust() -- Calculate desired thrust based on affectVectors and PID outputs if thruster.affectVectors.angular.pitch ~= nil and thruster.primary_pitch_thruster then - desiredThrust = desiredThrust + pitchOutput + desiredThrust = desiredThrust + pitchRateOutput end if thruster.affectVectors.angular.roll ~= nil and thruster.primary_roll_thruster then - desiredThrust = desiredThrust + rollOutput + desiredThrust = desiredThrust + rollRateOutput end if thruster.affectVectors.angular.yaw ~= nil and thruster.primary_yaw_thruster then desiredThrust = desiredThrust + yawRateOutput