1
0
Fork 0

Merge pull request #63 from hayden2000/qnh

Set altimeter on 'Ready for Taxi' or 'Ready for Takeoff'
This commit is contained in:
merspieler 2020-02-04 00:17:42 +11:00 committed by GitHub
commit 9effb64ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -485,6 +485,7 @@ var taxi_b = func {
setprop("/controls/lighting/taxi-light-switch", 0.5); setprop("/controls/lighting/taxi-light-switch", 0.5);
setprop("/controls/switches/landing-lights-l", 0.5); setprop("/controls/switches/landing-lights-l", 0.5);
setprop("/controls/switches/landing-lights-r", 0.5); setprop("/controls/switches/landing-lights-r", 0.5);
setprop("/instrumentation/altimeter[0]/setting-inhg", getprop("/environment/pressure-sea-level-inhg"));
settimer(taxi_c, 2); settimer(taxi_c, 2);
} }
var taxi_c = func { var taxi_c = func {