Use > instead of >=, which is bugged.
This commit is contained in:
parent
82e456be70
commit
d353181cf9
|
@ -130,12 +130,12 @@ function insertionBurn {
|
||||||
|
|
||||||
// warp to the burn point
|
// warp to the burn point
|
||||||
print "Waiting for burn window.".
|
print "Waiting for burn window.".
|
||||||
wait until (VAng(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 1) OR (TIME >= Ts).
|
wait until (VAng(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 1) OR (TIME > Ts).
|
||||||
if TIME > Ts - 2 {
|
if TIME < Ts - 2 {
|
||||||
KUNIVERSE:TIMEWARP:WarpTo(Ts - 2).
|
KUNIVERSE:TIMEWARP:WarpTo(Ts - 2).
|
||||||
}
|
}
|
||||||
wait until SHIP:UNPACKED.
|
wait until SHIP:UNPACKED.
|
||||||
wait until TIME >= Ts.
|
wait until TIME > Ts.
|
||||||
|
|
||||||
// burn until periapsis is clear
|
// burn until periapsis is clear
|
||||||
print "Circularizing orbit.".
|
print "Circularizing orbit.".
|
||||||
|
|
Loading…
Reference in New Issue
Block a user