trace off

This commit is contained in:
FlightControl 2016-03-24 12:21:01 +01:00
parent 2e045f2cea
commit e7846e2978
2 changed files with 6 additions and 6 deletions

View File

@ -13,18 +13,18 @@ _TraceClass = {
--SPAWN = true,
--STAGE = true,
--ZONE = true,
GROUP = true,
--GROUP = true,
--UNIT = true,
CLIENT = true,
--CLIENT = true,
--CARGO = true,
--CARGO_GROUP = true,
--CARGO_PACKAGE = true,
--CARGO_SLINGLOAD = true,
--CARGO_ZONE = true,
--CLEANUP = true,
MENU_SUB_GROUP = true,
MENU_COMMAND_GROUP = true,
ESCORT = true,
--MENU_SUB_GROUP = true,
--MENU_COMMAND_GROUP = true,
--ESCORT = true,
}
--- The BASE Class

View File

@ -181,7 +181,7 @@ function ESCORT:_ScanForTargets()
-- EscortTargetLastVelocity } )
if EscortTarget.distance then
local EscortTargetUnitPositionVec3 = EscortTargetUnit:GetPositionVec3()
local EscortTargetUnitPositionVec3 = EscortTargetUnit:GetPositionVec()
local EscortPositionVec3 = self.EscortGroup:GetPositionVec3()
local Distance = routines.utils.get3DDist( EscortTargetUnitPositionVec3, EscortPositionVec3 ) / 1000
self:T( { self.EscortGroup:GetName(), EscortTargetUnit:GetName(), Distance, EscortTarget.visible } )