add debug print to UpdateGlobalThrust

This commit is contained in:
2026-06-29 21:49:07 -05:00
parent 91c1723a9e
commit f38c765c40

View File

@@ -937,6 +937,8 @@ function UpdateGlobalThrust()
-- Normalize the desired thrust to be between 0 and 1
local normalizedThrust = math.max(0, math.min(1, (desiredThrust + 1) / 2)) -- Convert from [-1, 1] to [0, 1]
if Config.Debug then print("DEBUG: "..thruster.name..": desiredThrust "..desiredThrust..", normalizedThrust "..normalizedThrust) end
SetThrusterPower(thruster, normalizedThrust)
end
end