diff --git a/lib/boot.ks b/lib/boot.ks index eb9a468..5504971 100644 --- a/lib/boot.ks +++ b/lib/boot.ks @@ -37,7 +37,7 @@ function Bootstrap { } else { set CORE:BOOTFILENAME to "/init". } -// reboot. + reboot. } } diff --git a/lib/navigation.ks b/lib/navigation.ks index 3d14c59..19b0304 100644 --- a/lib/navigation.ks +++ b/lib/navigation.ks @@ -33,6 +33,9 @@ function CreateCircularizationNode { // REQUIRES a circular orbit. // TODO: it would be great to semi-automate this... function TargetBurnDistance { + if not HASTARGET { + return -1. + } return Sqrt(StoppingDistance()^2 + (SHIP:ORBIT:SEMIMAJORAXIS - SHIP:BODY:RADIUS - TARGET:ALTITUDE)^2). }