diff --git a/gui/dialogs/location-on-ground.xml b/gui/dialogs/location-on-ground.xml index f66822e22..fec99ed5e 100644 --- a/gui/dialogs/location-on-ground.xml +++ b/gui/dialogs/location-on-ground.xml @@ -12,10 +12,10 @@ - dlg = props.globals.getNode("/sim/gui/dialogs/location-on-ground", 1); - apt = dlg.getNode("airport", 1); + var dlg = props.globals.getNode("/sim/gui/dialogs/location-on-ground", 1); + var apt = dlg.getNode("airport", 1); apt.setValue(""); - rwy = dlg.getNode("runway", 1); + var rwy = dlg.getNode("runway", 1); rwy.setValue(""); @@ -65,7 +65,7 @@ setprop("/sim/presets/offset-distance", 0); setprop("/sim/presets/offset-azimuth", 0); setprop("/sim/presets/glideslope-deg", 0); - setprop("/sim/presets/heading-deg", 0); + setprop("/sim/presets/heading-deg", 9999);