From 12cad05ed697b7df68ee76365e9954cf135212ba Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Mon, 29 Jun 2026 22:09:03 -0500 Subject: [PATCH] convert ms to seconds in UpdateGlobalThrust --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")