Closed birgersp closed 4 years ago
In TaskGroup.advance, the group lead's position is used. If the group lead is destroyed just before obtaining the position, the script crashes.
To fix, use "updateGroupLead" before obtaining the group lead's position.
https://github.com/birgersp/dcs-autogft/blob/master/autogft/taskgroup.lua#L156
In TaskGroup.advance, the group lead's position is used. If the group lead is destroyed just before obtaining the position, the script crashes.
To fix, use "updateGroupLead" before obtaining the group lead's position.
https://github.com/birgersp/dcs-autogft/blob/master/autogft/taskgroup.lua#L156