1
0
Fork 0

data.load(): use io.read_properties() (fixes *.sav loading bug)

This commit is contained in:
mfranz 2008-07-11 22:50:58 +00:00
parent 5eaebdb728
commit 30cd488f90

View file

@ -412,7 +412,7 @@ var data = {
},
load : func {
printlog("warn", "trying to load aircraft data from ", me.path, " (OK if not found)");
fgcommand("load", props.Node.new({ "file": me.path }));
io.read_properties(me.path, props.globals);
},
save : func(v = nil) {
me.loopid += 1;