mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS - Some changes to ARMORATTACK to update route if target is moving
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user