1
0
Fork 0

make sure that setWeightOpts isn't called before fuel.nas' init fdm listener.

This is a bit hackish and needs to be reconsidered.
This commit is contained in:
mfranz 2007-01-31 21:13:16 +00:00
parent 9117ddf71d
commit 003ba28784

View file

@ -457,7 +457,9 @@ var setWeightOpts = func {
return tankchange;
}
# Run it at startup to make sure the tank settings are correct
settimer(setWeightOpts, 0);
_setlistener("/sim/signals/fdm-initialized", func {
settimer(setWeightOpts, 0);
});
# Called from the F&W dialog when the user selects a weight option