- Fixed IsAlive
This commit is contained in:
Frank
2023-12-25 23:12:55 +01:00
parent 4e36ed170b
commit 1b01b89343
2 changed files with 4 additions and 2 deletions

View File

@@ -526,11 +526,11 @@ function TARGET:IsAlive()
for _,_target in pairs(self.targets) do
local target=_target --Ops.Target#TARGET.Object
if target.Status==TARGET.ObjectStatus.ALIVE then
if target.Status~=TARGET.ObjectStatus.DEAD then
return true
end
end
return false
end