From f38c765c4079509482d37655026ff52a7591a630 Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Mon, 29 Jun 2026 21:49:07 -0500 Subject: [PATCH] add debug print to UpdateGlobalThrust --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index a93ec46..6f29ab6 100644 --- a/main.lua +++ b/main.lua @@ -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