mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
Added comments, added base framework for respawning
This commit is contained in:
@@ -20,3 +20,13 @@ HOGGIT.listContains = function(list, elem)
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
HOGGIT.GroupIsAlive = function(group)
|
||||
local grp = nil
|
||||
if type(group) == "string" then
|
||||
grp = Group.getByName(group)
|
||||
else
|
||||
grp = group
|
||||
end
|
||||
if grp and grp:isExist() and grp:getSize() > 0 then return true else return false end
|
||||
end
|
||||
Reference in New Issue
Block a user