1
0
Fork 0

only save before the reset is executed, so we can save e.g. the Hobbs time

This commit is contained in:
mfranz 2007-01-21 00:21:53 +00:00
parent ec18defa4c
commit 722f35903d

View file

@ -416,7 +416,7 @@ Data = {
settimer(func { m.load() }, 0);
setlistener("/sim/signals/exit", func { m._save_() });
setlistener("/sim/signals/reinit", func { m._save_() });
setlistener("/sim/signals/reinit", func { cmdarg().getBoolValue() and m._save_() });
return m;
},
load : func {