From 68939d48bc98b4eb01e73a5b3c4636b78de2c2bc Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Fri, 9 Apr 2021 02:53:24 -0400 Subject: [PATCH] This should be a good way to handle ksm compilation in the code. --- boot/RadarrBoot.ks | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/boot/RadarrBoot.ks b/boot/RadarrBoot.ks index 81dcb6e..167ce6e 100644 --- a/boot/RadarrBoot.ks +++ b/boot/RadarrBoot.ks @@ -22,9 +22,7 @@ clearscreen. NOTIFY("Boot sequence complete, prepare to load and compile the flight scripts."). IF true { // Set this to false to avoid compiling ascent code. - SWITCH TO 0. - COPYPATH("0:/RadarrSeries/radarr.kerbin.ks", ""). // Copy over our launch script from the archive at ksc - COMPILE "radarr.kerbin.ks" to "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 }