mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Fix for possible crash
This commit is contained in:
2
CTLD.lua
2
CTLD.lua
@@ -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