data.load(): use io.read_properties() (fixes *.sav loading bug)
This commit is contained in:
parent
5eaebdb728
commit
30cd488f90
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue