Bugfix: engines.nas broken by props.nas change

This commit is contained in:
Jonathan Redpath 2018-09-14 16:08:33 +01:00
parent eedfb9fda2
commit 02f8a61438
3 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ var cutoff_one = func {
setprop("/systems/pneumatic/eng1-starter", 0);
setprop("/controls/engines/engine[0]/starter", 0);
setprop("/controls/engines/engine[0]/cutoff", 1);
var engine0_state = props.globals.initNode("/engines/engine[0]/state", 0, "INT");
setprop("/engines/engine[0]/state", 0);
interpolate(engines[0].getNode("egt-actual"), 0, egt_shutdown_time);
eng_one_n2_check.stop();
}
@ -144,7 +144,7 @@ var cutoff_two = func {
setprop("/systems/pneumatic/eng2-starter", 0);
setprop("/controls/engines/engine[1]/starter", 0);
setprop("/controls/engines/engine[1]/cutoff", 1);
var engine1_state = props.globals.initNode("/engines/engine[0]/state", 0, "INT");
setprop("/engines/engine[0]/state", 0);
interpolate(engines[1].getNode("egt-actual"), 0, egt_shutdown_time);
}

View file

@ -60,7 +60,7 @@ var cutoff_one = func {
setprop("/systems/pneumatic/eng1-starter", 0);
setprop("/controls/engines/engine[0]/starter", 0);
setprop("/controls/engines/engine[0]/cutoff", 1);
var engine0_state = props.globals.initNode("/engines/engine[0]/state", 0, "INT");
setprop("/engines/engine[0]/state", 0);
interpolate(engines[0].getNode("egt-actual"), 0, egt_shutdown_time);
eng_one_n2_check.stop();
}
@ -144,7 +144,7 @@ var cutoff_two = func {
setprop("/systems/pneumatic/eng2-starter", 0);
setprop("/controls/engines/engine[1]/starter", 0);
setprop("/controls/engines/engine[1]/cutoff", 1);
var engine1_state = props.globals.initNode("/engines/engine[1]/state", 0, "INT");
setprop("/engines/engine[1]/state", 0);
interpolate(engines[1].getNode("egt-actual"), 0, egt_shutdown_time);
}

View file

@ -1 +1 @@
4637
4638