A3XX: FADEC bugfix

This commit is contained in:
Joshua Davidson 2017-08-26 22:38:55 -04:00
parent 2c18fe93e0
commit 193b77c246
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ setlistener("/sim/signals/fdm-initialized", func {
var fadecLoop = maketimer(0.7, func {
var ac1 = getprop("/systems/electrical/bus/ac1");
var ac2 = getprop("/systems/electrical/bus/ac1");
var ac2 = getprop("/systems/electrical/bus/ac2");
var acess = getprop("/systems/electrical/bus/ac-ess");
var state1 = getprop("/engines/engine[0]/state");
var state2 = getprop("/engines/engine[1]/state");

View file

@ -28,7 +28,7 @@ setlistener("/sim/signals/fdm-initialized", func {
var fadecLoop = maketimer(0.7, func {
var ac1 = getprop("/systems/electrical/bus/ac1");
var ac2 = getprop("/systems/electrical/bus/ac1");
var ac2 = getprop("/systems/electrical/bus/ac2");
var acess = getprop("/systems/electrical/bus/ac-ess");
var state1 = getprop("/engines/engine[0]/state");
var state2 = getprop("/engines/engine[1]/state");