I'm having some issues with a script and I'm not sure if I have some syntax or logic error or something, or if there's some weird bug with KOS. I'm using the new pre-release v0.12.P3. I know exactly which part is causing the problem, but I don't understand why it is causing the problem. This part, for some reason, is causing the throttle to be unlocked right away, even though it shouldn't even be executed. Snippet from stager.txt IF fuelGood = FALSE OR airGood = FALSE { print "no good". IF airGood = FALSE { LOCK THROTTLE TO 0. //print "why are you unlocking stuff!". DECLARE enginesOff. If I place a print statement there, nothing is printed, but if I comment out the LOCK THROTTLE TO 0. then it works as expected. test.txt lock throttle to 1. lock steering to UP + R(0,0,180). until 1 { print "test". run stager. wait 1. }. stager.txt LIST PARTS IN prts. SET lastStage TO 0. SET lastCoupler to 0. FOR p IN prts { IF p:STAGE > lastStage { SET lastStage TO p:STAGE. }. RUN decouplers(p:NAME). IF return = TRUE { IF p:STAGE > lastCoupler { SET lastCoupler TO p:STAGE. }. }. }. SET fuelGood TO FALSE. SET airGood TO TRUE. FOR p IN prts { IF p:STAGE >= lastCoupler { FOR res IN p:RESOURCES { IF res:NAME = "liquidfuel" OR res:NAME = "solidfuel" OR res:NAME = "oxidizer" { IF res:AMOUNT > 0 { SET fuelGood TO TRUE. }. }. IF res:NAME = "intakeair" { IF res:AMOUNT = 0 { SET airGood TO FALSE. }. }. }. }. }. IF fuelGood = FALSE OR airGood = FALSE { print "no good". IF airGood = FALSE { LOCK THROTTLE TO 0. //print "why are you unlocking stuff!". DECLARE enginesOff. UNTIL enginesOff = TRUE { SET enginesOff TO TRUE. LIST ENGINES IN engs. FOR eng IN engs { IF eng:IGNITION = TRUE { IF eng:THRUST > 10 { SET enginesOff TO FALSE. }. }. }. }. }. STAGE. IF airGood = FALSE { UNLOCK THROTTLE. }. SET doubleStage TO TRUE. LIST ENGINES IN engs. FOR eng IN engs { IF eng:IGNITION = TRUE { SET doubleStage TO FALSE. }. }. IF doubleStage = TRUE { WAIT 1. STAGE. }. }.