From ea43922437cdbfc29c17609e8ad85b47ac250d7c Mon Sep 17 00:00:00 2001 From: abory Date: Thu, 17 Jul 2008 21:06:29 +0000 Subject: [PATCH] - Alexis Bory: use io.read_properties() instead of fgcommand(load). --- Aircraft/Generic/radardist.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aircraft/Generic/radardist.nas b/Aircraft/Generic/radardist.nas index b95815417..40efdd143 100644 --- a/Aircraft/Generic/radardist.nas +++ b/Aircraft/Generic/radardist.nas @@ -150,7 +150,7 @@ var load_data = func { var init = func { print("Initializing Radar Data"); - fgcommand("load", props.Node.new({ "file": data_path })); + io.read_properties(data_path, props.globals); load_data(); }