diff --git a/main.lua b/main.lua index 0f7f762..97df817 100644 --- a/main.lua +++ b/main.lua @@ -817,8 +817,7 @@ function SetThrusterPower(thruster, power) if actualPower < 1 then actualPower = 15 -- signal 15 will decouple the speed and stop the motion - end - if actualPower <= 15 and actualPower > 1 then + elseif actualPower <= 15 then actualPower = actualPower - 1 end