Bugfix
This commit is contained in:
parent
8bf1035d0d
commit
a651bd1bfd
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,7 @@ var APU = {
|
||||||
}, 3);
|
}, 3);
|
||||||
settimer(func() { me.checkOil }, 8);
|
settimer(func() { me.checkOil }, 8);
|
||||||
},
|
},
|
||||||
startCommand: func(fast) {
|
startCommand: func(fast = 0) {
|
||||||
if (me.listenSignals and (me.state == 1 or me.state == 2)) {
|
if (me.listenSignals and (me.state == 1 or me.state == 2)) {
|
||||||
me.signals.startInProgress.setValue(1);
|
me.signals.startInProgress.setValue(1);
|
||||||
me.setState(3);
|
me.setState(3);
|
||||||
|
@ -121,6 +121,7 @@ var APU = {
|
||||||
waitStart: func() {
|
waitStart: func() {
|
||||||
if (pts.APU.rpm.getValue() >= 4.9) {
|
if (pts.APU.rpm.getValue() >= 4.9) {
|
||||||
me.GenericControls.cutoff.setValue(0);
|
me.GenericControls.cutoff.setValue(0);
|
||||||
|
setprop("/fdm/jsbsim/propulsion/set-running", 2);
|
||||||
apuStartTimer.stop();
|
apuStartTimer.stop();
|
||||||
apuStartTimer2.start();
|
apuStartTimer2.start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue