Don't stage too quickly.

This commit is contained in:
Casper V. Kristensen 2019-02-08 18:45:13 +01:00
parent b93d229ff5
commit 121581f227
Signed by: caspervk
GPG key ID: 289CA03790535054
3 changed files with 6 additions and 5 deletions

View file

@ -8,9 +8,9 @@ set TERMINAL:width to 50.
set TERMINAL:height to 30.
CORE:doaction("Open Terminal", true).
print "=================== BOOTING ===================".
print "==================== BOOTING =====================".
wait until SHIP:loaded and SHIP:unpacked.
wait 0.001.
wait 0.001. // wait one physics tick
if HOMECONNECTION:isconnected {
copy_scripts().
@ -18,7 +18,7 @@ if HOMECONNECTION:isconnected {
print "No connection to KSC: not updating scripts.".
}
print "=========== BOOT SEQUENCE COMPLETE ============".
print "============= BOOT SEQUENCE COMPLETE =============".
function copy_scripts {

View file

@ -60,6 +60,7 @@ function launch {
// Enable auto-staging
when should_stage() then {
stage_when_ready().
wait 0.5.
return true. // preserve trigger
}