Remove 'You are on runway' message when spawning with --parkpos
Fix by Michael Danilov
This commit is contained in:
parent
4df4d22081
commit
5a841e2ebe
1 changed files with 1 additions and 3 deletions
|
@ -487,9 +487,7 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
|
|||
settimer(func {
|
||||
setlistener("/sim/atc/runway", func(n) { # set in src/Main/fg_init.cxx
|
||||
var rwy = n.getValue();
|
||||
if (rwy == nil)
|
||||
return;
|
||||
if (getprop("/sim/presets/airport-id") == "KSFO" and rwy == "28R")
|
||||
if ((rwy == nil) or (rwy == ""))
|
||||
return;
|
||||
if ((var agl = getprop("/position/altitude-agl-ft")) != nil and agl > 100)
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue