1
0
Fork 0

Use initNode() for convenient, fast, effective property initialization.

This commit is contained in:
stuart 2009-02-12 21:00:57 +00:00
parent f181fd1040
commit 9130605ca7

View file

@ -31,9 +31,11 @@
setprop("/sim/failure-manager/global-mcbf", m);
};
props.globals.initNode("/sim/failure-manager/global-mtbf", 0);
props.globals.initNode("/sim/failure-manager/global-mcbf", 0);
set_mtbf(getprop("/sim/failure-manager/global-mtbf"));
set_mcbf(getprop("/sim/failure-manager/global-mcbf"));
]]>
</open>
</nasal>