mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2026-08-13 09:16:10 +00:00
Fix for possible crash
This commit is contained in:
@@ -4329,7 +4329,7 @@ function ctld.getGroup(groupName)
|
|||||||
local _filteredUnits = {} --contains alive units
|
local _filteredUnits = {} --contains alive units
|
||||||
local _x = 1
|
local _x = 1
|
||||||
|
|
||||||
if _groupUnits ~= nil then
|
if _groupUnits ~= nil and _groupUnits:isExist() then
|
||||||
|
|
||||||
_groupUnits = _groupUnits:getUnits()
|
_groupUnits = _groupUnits:getUnits()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user