From 65dca0e03a716fe1af3dea88a37770b3e09902e5 Mon Sep 17 00:00:00 2001 From: Josh Davidson Date: Wed, 9 Mar 2022 10:13:18 -0500 Subject: [PATCH] FADEC: Quick bugfix --- Nasal/Systems/fadec-cfm.nas | 2 +- Nasal/Systems/fadec-iae.nas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/Systems/fadec-cfm.nas b/Nasal/Systems/fadec-cfm.nas index a94b5603..c7d70874 100644 --- a/Nasal/Systems/fadec-cfm.nas +++ b/Nasal/Systems/fadec-cfm.nas @@ -119,7 +119,7 @@ var FADEC_S = { state1 = pts.Engines.Engine.state[0].getValue(); state2 = pts.Engines.Engine.state[1].getValue(); - modeSel = systems.ENGINE.startSw.getValue(); + modeSel = pts.Controls.Engines.startSw.getValue(); if (state1 == 3) { me.Power.powered1.setValue(1); diff --git a/Nasal/Systems/fadec-iae.nas b/Nasal/Systems/fadec-iae.nas index 8e38871d..740fdf90 100644 --- a/Nasal/Systems/fadec-iae.nas +++ b/Nasal/Systems/fadec-iae.nas @@ -119,7 +119,7 @@ var FADEC_S = { state1 = pts.Engines.Engine.state[0].getValue(); state2 = pts.Engines.Engine.state[1].getValue(); - modeSel = systems.ENGINE.startSw.getValue(); + modeSel = pts.Controls.Engines.startSw.getValue(); if (state1 == 3) { me.Power.powered1.setValue(1);