Fix in-air reposition runway heading
When repositioning to an airport runway, clear the heading preset so we use the runway heading. https://sourceforge.net/p/flightgear/codetickets/2283/
This commit is contained in:
parent
dee62a362d
commit
045c8f4815
1 changed files with 1 additions and 0 deletions
|
@ -538,6 +538,7 @@
|
|||
setprop("/sim/presets/runway-requested", 0);
|
||||
} else {
|
||||
setprop("/sim/presets/carrier", "");
|
||||
setprop("/sim/presets/heading-deg", 9999);
|
||||
var runway = getprop("/sim/presets/runway");
|
||||
if (runway != "") {
|
||||
setprop("/sim/presets/runway-requested", 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue