1
0
Fork 0

write proper END <wpt>

This commit is contained in:
mfranz 2007-10-18 21:31:29 +00:00
parent 33805eaa58
commit 28def78cef

View file

@ -648,7 +648,7 @@ var export_flightplan = func {
to.getNode("on-ground", 1).setBoolValue(1);
to.getNode("ktas", 1).setDoubleValue(100);
}
export.getChild("wpt", i, 1).getNode("name", 1).setValue("END");
export.getChild("wpt", i + 1, 1).getNode("name", 1).setValue("END");
fgcommand("savexml", args);
print("flightplan exported to ", path);