From c3bfd4c650ed24a846b92157115688ada5413678 Mon Sep 17 00:00:00 2001 From: annabunches Date: Sun, 29 Aug 2021 20:48:54 -0400 Subject: [PATCH] Automatically install rocket program once a connection is available. --- boot/simustrap.ks | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boot/simustrap.ks b/boot/simustrap.ks index 3e6609e..9589c53 100644 --- a/boot/simustrap.ks +++ b/boot/simustrap.ks @@ -24,7 +24,10 @@ function SolarPanels { } wait until SHIP:UNPACKED. -wait 5.0. +wait 2.0. Antennas(). SolarPanels(). -CORE:PART:GETMODULE("kOSProcessor"):DOEVENT("Open Terminal"). + +wait until CONTROLCONNECTION:ISCONNECTED. +switch to 0. +RunPath("/reinstall").