This commit is contained in:
Marsdolphin 2020-09-06 11:33:20 +08:00 committed by GitHub
parent c1a32c6419
commit d762002b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,12 +32,11 @@ Engines.autostart = func {
}
Engines.shutdown = func {
setprop('/controls/engines/engine[0]/cutoff',1);
setprop('/controls/engines/engine[1]/cutoff',1);
}
if ( ! getprop('/controls/engines/engine[0]/cutoff',1) ) {
setprop('system/electrical/outputs/efis', 0);
}
if ( ! getprop('/controls/engines/engine[0]/cutoff',1) ) {
setprop('system/electrical/outputs/efis', 0);
}
}
Engines.schedule = func {