From d1adc378723b0b77f9ae1e5d30b0e5edc8196cbe Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 1 Jul 2007 13:07:08 +0000 Subject: [PATCH] fix export file format (the tags got lost in one of the last commits) --- Aircraft/ufo/ufo.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aircraft/ufo/ufo.nas b/Aircraft/ufo/ufo.nas index b5adca6af..9bf6745d1 100644 --- a/Aircraft/ufo/ufo.nas +++ b/Aircraft/ufo/ufo.nas @@ -627,7 +627,7 @@ var print_data = func { var export_data = func { var path = getprop("/sim/fg-home") ~ "/ufo-model-export.xml"; var args = props.Node.new({ filename : path }); - props.copy(modelmgr.get_data(), args.getNode("data", 1)); + props.copy(modelmgr.get_data(), args.getNode("data/models", 1)); fgcommand("savexml", args); print("model data exported to ", path); }