When starting FlightGear the shutdown sounds for both engines were played. This PR adds more conditions to avoid that:
N1 greater than 0.1%
Starter switched off
The second condition is necessary because the property running is set only when reaching 17% N1, so without it the shutdown sound would be played during startup.
The N1-condition can not be set to 17%, because the sounds stops playing once the value drops below the limit.
While working on this, I fixed a small bug: The property running was only set to TRUE on the first start of an engine. Subsequent starts would not set the property again.
When starting FlightGear the shutdown sounds for both engines were played. This PR adds more conditions to avoid that:
The second condition is necessary because the property
running
is set only when reaching 17% N1, so without it the shutdown sound would be played during startup. The N1-condition can not be set to 17%, because the sounds stops playing once the value drops below the limit.While working on this, I fixed a small bug: The property
running
was only set toTRUE
on the first start of an engine. Subsequent starts would not set the property again.