Fix caps in RadarBoot.ks
This commit is contained in:
parent
b636d4baa2
commit
b2eb0188ea
|
@ -22,16 +22,16 @@ CLEARSCREEN.
|
||||||
NOTIFY("Boot sequence complete, prepare to load and compile the flight scripts.").
|
NOTIFY("Boot sequence complete, prepare to load and compile the flight scripts.").
|
||||||
|
|
||||||
IF true { // Set this to false to avoid compiling ascent code.
|
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 {
|
} ELSE {
|
||||||
COPYPATH("0:/RadarrSeries/radarr.kerbin.ks", "1:/ascent.ks"). // Copy over our launch script from the archive at ksc
|
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.").
|
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.
|
WAIT 5.
|
||||||
RUN ascent.ks. // Run the ascent stage!
|
RUN ascent.ks. // Run the ascent stage!
|
||||||
} else {
|
} ELSE {
|
||||||
NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!").
|
NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!").
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue