updated static change

This commit is contained in:
2024-11-06 09:12:17 +01:00
parent d1494e9af2
commit 64f87abd7a
+4
View File
@@ -445,9 +445,13 @@ do -- INIT DCS_UTIL
---checks if the groupname is a static group
---@param groupName any
function DCS_UTIL.IsGroupStatic(groupName)
if DCS_UTIL.__miz_groups[groupName] then
return DCS_UTIL.__miz_groups[groupName].category == 5;
end
return Group.getByName(groupName) == nil
end
---comment
---@param groupName string destroy the given group
function DCS_UTIL.DestroyGroup(groupName)