hopefully fix SetThrusterPower for rotators with analog transmissions
This commit is contained in:
2
main.lua
2
main.lua
@@ -818,7 +818,7 @@ function SetThrusterPower(thruster, power)
|
|||||||
if actualPower < 1 then
|
if actualPower < 1 then
|
||||||
actualPower = 15 -- signal 15 will decouple the speed and stop the motion
|
actualPower = 15 -- signal 15 will decouple the speed and stop the motion
|
||||||
end
|
end
|
||||||
if actualPower <= 15 then
|
if actualPower <= 15 and actualPower > 1 then
|
||||||
actualPower = actualPower - 1
|
actualPower = actualPower - 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user