only save before the reset is executed, so we can save e.g. the Hobbs time
This commit is contained in:
parent
ec18defa4c
commit
722f35903d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue