updated static change
This commit is contained in:
@@ -445,7 +445,11 @@ do -- INIT DCS_UTIL
|
|||||||
---checks if the groupname is a static group
|
---checks if the groupname is a static group
|
||||||
---@param groupName any
|
---@param groupName any
|
||||||
function DCS_UTIL.IsGroupStatic(groupName)
|
function DCS_UTIL.IsGroupStatic(groupName)
|
||||||
return DCS_UTIL.__miz_groups[groupName].category == 5;
|
if DCS_UTIL.__miz_groups[groupName] then
|
||||||
|
return DCS_UTIL.__miz_groups[groupName].category == 5;
|
||||||
|
end
|
||||||
|
|
||||||
|
return Group.getByName(groupName) == nil
|
||||||
end
|
end
|
||||||
|
|
||||||
---comment
|
---comment
|
||||||
|
|||||||
Reference in New Issue
Block a user