#CHIEF, CTLD, UNIT

This commit is contained in:
Applevangelist
2022-11-01 14:30:09 +01:00
parent bb9ce9e26f
commit 4b0d48922d
3 changed files with 27 additions and 9 deletions

View File

@@ -361,6 +361,8 @@ function UNIT:IsPlayer()
-- Get group.
local group=self:GetGroup()
if not group then return false end
-- Units of template group.
local units=group:GetTemplate().units