diff --git a/boot/RadarrBoot.ks b/boot/RadarrBoot.ks index 2b2dcc4..a4a1bb5 100644 --- a/boot/RadarrBoot.ks +++ b/boot/RadarrBoot.ks @@ -22,16 +22,16 @@ CLEARSCREEN. NOTIFY("Boot sequence complete, prepare to load and compile the flight scripts."). IF true { // Set this to false to avoid compiling ascent code. - COMPILE "0:/RadarrSeries/radarr.kerbin.ks" to "1:/ascent.ksm". // Compile the flight code into a ksm object. + COMPILE "0:/RadarrSeries/radarr.kerbin.ks" TO "1:/ascent.ksm". // Compile the flight code into a ksm object. } ELSE { COPYPATH("0:/RadarrSeries/radarr.kerbin.ks", "1:/ascent.ks"). // Copy over our launch script from the archive at ksc } NOTIFY("Program compiled and ready to run."). -IF ALT:RADAR < 100 { // If our radar alt is lower than 10 +IF alt:radar < 100 { // If our radar alt is lower than 10 WAIT 5. RUN ascent.ks. // Run the ascent stage! -} else { +} ELSE { NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!"). }