Sim: Fix acconfig

This commit is contained in:
Joshua Davidson 2019-01-14 23:21:55 -05:00
parent de4d370afe
commit 7abad3da78
2 changed files with 5 additions and 2 deletions

View file

@ -429,6 +429,9 @@ var taxi_b = func {
setprop("/controls/radio/rmp[0]/on", 1);
setprop("/controls/radio/rmp[1]/on", 1);
setprop("/controls/radio/rmp[2]/on", 1);
setprop("/controls/lighting/taxi-light-switch", 0.5);
setprop("/controls/lighting/landing-lights[1]", 0.5);
setprop("/controls/lighting/landing-lights[2]", 0.5);
settimer(taxi_c, 2);
}
var taxi_c = func {
@ -445,7 +448,6 @@ var taxi_d = func {
setprop("/controls/APU/master", 0);
setprop("/controls/APU/start", 0);
setprop("/controls/pneumatic/switches/bleedapu", 0);
setprop("/controls/lighting/taxi-light-switch", 1);
setprop("/controls/gear/brake-left", 0);
setprop("/controls/gear/brake-right", 0);
setprop("/systems/acconfig/autoconfig-running", 0);
@ -463,6 +465,7 @@ var takeoff = func {
if (getprop("/engines/engine[0]/state") == 3) {
removelistener(eng_one_chk_c);
setprop("/controls/lighting/strobe", 1);
setprop("/controls/lighting/taxi-light-switch", 1);
setprop("/controls/lighting/landing-lights[1]", 1);
setprop("/controls/lighting/landing-lights[2]", 1);
setprop("/controls/flight/speedbrake-arm", 1);

View file

@ -1 +1 @@
4738
4739