Skip to content

Commit

Permalink
Fix #337
Browse files Browse the repository at this point in the history
  • Loading branch information
remenkemi committed May 10, 2021
1 parent 8d03c4d commit 13cdaed
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions plugins/xtlua/scripts/B747.35.xt.fire/B747.35.xt.fire.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ simDR_press_diff_psi = find_dataref("sim/cockpit2/pressurization/indicato
--*************************************************************************************--
B747DR_CAS_warning_status = find_dataref("laminar/B747/CAS/warning_status")
B747DR_engineFuelControl = find_dataref("laminar/B747/fuel/fuel_control/toggle_sw_pos")
--*************************************************************************************--
Expand Down Expand Up @@ -358,7 +358,10 @@ function B747_fire_extinguishers()
else
simDR_engine_fire_ext_on[0] = 0
end
if B747DR_engine01_fire_ext_switch_pos_arm == 1 then
B747DR_engineFuelControl[0] = 0
end
-- ENGINE #2
if B747DR_engine02_fire_ext_switch_pos_disch < -0.95
Expand All @@ -369,6 +372,9 @@ function B747_fire_extinguishers()
simDR_engine_fire_ext_on[1] = 0
end
if B747DR_engine02_fire_ext_switch_pos_arm == 1 then
B747DR_engineFuelControl[1] = 0
end
-- ENGINE #3
if B747DR_engine03_fire_ext_switch_pos_disch < -0.95
Expand All @@ -379,7 +385,10 @@ function B747_fire_extinguishers()
simDR_engine_fire_ext_on[2] = 0
end
if B747DR_engine03_fire_ext_switch_pos_arm == 1 then
B747DR_engineFuelControl[2] = 0
end
-- ENGINE #4
if B747DR_engine04_fire_ext_switch_pos_disch < -0.95
or B747DR_engine04_fire_ext_switch_pos_disch > 0.95
Expand All @@ -389,7 +398,9 @@ function B747_fire_extinguishers()
simDR_engine_fire_ext_on[3] = 0
end
if B747DR_engine04_fire_ext_switch_pos_arm == 1 then
B747DR_engineFuelControl[3] = 0
end
----- SET BOTTLE PRESSURE ON DISCHARGE
Expand Down

0 comments on commit 13cdaed

Please sign in to comment.