add debug statement to SetThrusterPower
This commit is contained in:
2
main.lua
2
main.lua
@@ -827,6 +827,8 @@ function SetThrusterPower(thruster, power)
|
|||||||
thruster.power = power
|
thruster.power = power
|
||||||
thruster.thruster.setPowerNormalized(power)
|
thruster.thruster.setPowerNormalized(power)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if Config.Debug then print("DEBUG: thruster "..thruster.name..": power "..power) end
|
||||||
end
|
end
|
||||||
|
|
||||||
function GetThrusterPower(thruster)
|
function GetThrusterPower(thruster)
|
||||||
|
|||||||
Reference in New Issue
Block a user