diff --git a/main.lua b/main.lua index 46e44f6..1fb6bec 100644 --- a/main.lua +++ b/main.lua @@ -898,7 +898,7 @@ function UpdateGlobalThrust() -- each thruster has a power value from 0 to 1, which is the amount of thrust the thruster is currently applying -- depending on the desired thrust vectors, some counteractive desired thrust vectors will be ignored - local dt = GetDeltaTime() + local dt = GetDeltaTime() / 1000 if SensorData.Gimbal == nil or SensorData.Altitude == nil or SensorData.Velocity == nil then print("ERROR: One or more of SensorData is nil. Cannot update thrust.")