FADEC: Quick bugfix
This commit is contained in:
parent
ea2f1b9b77
commit
65dca0e03a
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ var FADEC_S = {
|
||||||
|
|
||||||
state1 = pts.Engines.Engine.state[0].getValue();
|
state1 = pts.Engines.Engine.state[0].getValue();
|
||||||
state2 = pts.Engines.Engine.state[1].getValue();
|
state2 = pts.Engines.Engine.state[1].getValue();
|
||||||
modeSel = systems.ENGINE.startSw.getValue();
|
modeSel = pts.Controls.Engines.startSw.getValue();
|
||||||
|
|
||||||
if (state1 == 3) {
|
if (state1 == 3) {
|
||||||
me.Power.powered1.setValue(1);
|
me.Power.powered1.setValue(1);
|
||||||
|
|
|
@ -119,7 +119,7 @@ var FADEC_S = {
|
||||||
|
|
||||||
state1 = pts.Engines.Engine.state[0].getValue();
|
state1 = pts.Engines.Engine.state[0].getValue();
|
||||||
state2 = pts.Engines.Engine.state[1].getValue();
|
state2 = pts.Engines.Engine.state[1].getValue();
|
||||||
modeSel = systems.ENGINE.startSw.getValue();
|
modeSel = pts.Controls.Engines.startSw.getValue();
|
||||||
|
|
||||||
if (state1 == 3) {
|
if (state1 == 3) {
|
||||||
me.Power.powered1.setValue(1);
|
me.Power.powered1.setValue(1);
|
||||||
|
|
Loading…
Reference in a new issue