A3XX: Fix some APU bugs #85

This commit is contained in:
Joshua Davidson 2017-11-12 11:05:22 -05:00
parent a04fd36db0
commit a617e9e1ac
3 changed files with 3 additions and 3 deletions

View file

@ -5468,7 +5468,7 @@
</condition>
<command>nasal</command>
<script>
if (getprop("/controls/APU/master") == 1) {
if (getprop("/controls/APU/master") == 1 and getprop("/controls/APU/start") != 1) {
setprop("/controls/APU/start", 1);
}
</script>

View file

@ -330,7 +330,7 @@ setlistener("/controls/APU/start", func {
apu_egt_checkt.start();
} else if (getprop("/systems/acconfig/autoconfig-running") == 1) {
interpolate("/systems/apu/rpm", apu_max, 5);
interpolate("/systems/apu/egt", apu_egt_max, 5);
interpolate("/systems/apu/egt", apu_egt_min, 5);
}
} else if (getprop("/controls/APU/master") == 0) {
apu_egt_checkt.stop();

View file

@ -1 +1 @@
3062
3063