Don't stage too quickly.
This commit is contained in:
parent
b93d229ff5
commit
121581f227
3 changed files with 6 additions and 5 deletions
|
@ -8,9 +8,9 @@ set TERMINAL:width to 50.
|
||||||
set TERMINAL:height to 30.
|
set TERMINAL:height to 30.
|
||||||
CORE:doaction("Open Terminal", true).
|
CORE:doaction("Open Terminal", true).
|
||||||
|
|
||||||
print "=================== BOOTING ===================".
|
print "==================== BOOTING =====================".
|
||||||
wait until SHIP:loaded and SHIP:unpacked.
|
wait until SHIP:loaded and SHIP:unpacked.
|
||||||
wait 0.001.
|
wait 0.001. // wait one physics tick
|
||||||
|
|
||||||
if HOMECONNECTION:isconnected {
|
if HOMECONNECTION:isconnected {
|
||||||
copy_scripts().
|
copy_scripts().
|
||||||
|
@ -18,7 +18,7 @@ if HOMECONNECTION:isconnected {
|
||||||
print "No connection to KSC: not updating scripts.".
|
print "No connection to KSC: not updating scripts.".
|
||||||
}
|
}
|
||||||
|
|
||||||
print "=========== BOOT SEQUENCE COMPLETE ============".
|
print "============= BOOT SEQUENCE COMPLETE =============".
|
||||||
|
|
||||||
|
|
||||||
function copy_scripts {
|
function copy_scripts {
|
||||||
|
|
|
@ -60,6 +60,7 @@ function launch {
|
||||||
// Enable auto-staging
|
// Enable auto-staging
|
||||||
when should_stage() then {
|
when should_stage() then {
|
||||||
stage_when_ready().
|
stage_when_ready().
|
||||||
|
wait 0.5.
|
||||||
return true. // preserve trigger
|
return true. // preserve trigger
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue