Skip to content

Commit

Permalink
fix bug in task group updateGroupLead
Browse files Browse the repository at this point in the history
  • Loading branch information
birgersp committed Mar 24, 2022
1 parent 06c2838 commit b262fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gws/taskgroup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
-- @param #TaskGroup self
function gws_TaskGroup:updateGroupLead()
self.groupLead = nil
if self.dcsGroup then
if self.dcsGroup and self.dcsGroup:isExist() then
local unitIndex = 1
local units = self.dcsGroup:getUnits()
while unitIndex <= #units and not self.groupLead do
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1_19
1_20

0 comments on commit b262fa9

Please sign in to comment.