OPS - Some changes to ARMORATTACK to update route if target is moving

This commit is contained in:
Applevangelist
2022-03-29 12:03:45 +02:00
parent e113817293
commit f8a577749a
3 changed files with 21 additions and 5 deletions

View File

@@ -990,8 +990,12 @@ function TARGET:GetTargetVec3(Target)
if object and object:IsAlive() then
local vec3=object:GetVec3()
return vec3
if vec3 then
return vec3
else
return nil
end
else
return nil