Merge pull request #63 from hayden2000/qnh
Set altimeter on 'Ready for Taxi' or 'Ready for Takeoff'
This commit is contained in:
commit
9effb64ffd
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue