mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Removing test on detection visible
This commit is contained in:
parent
cbb800de02
commit
0d8f3d25e9
@ -577,7 +577,7 @@ do -- DETECTION_BASE
|
||||
self:T2( { TargetIsDetected = TargetIsDetected, TargetIsVisible = TargetIsVisible, TargetLastTime = TargetLastTime, TargetKnowType = TargetKnowType, TargetKnowDistance = TargetKnowDistance, TargetLastPos = TargetLastPos, TargetLastVelocity = TargetLastVelocity } )
|
||||
|
||||
-- Only process if the target is visible. Detection also returns invisible units.
|
||||
if Detection.visible == true then
|
||||
--if Detection.visible == true then
|
||||
|
||||
local DetectionAccepted = true
|
||||
|
||||
@ -713,7 +713,7 @@ do -- DETECTION_BASE
|
||||
self.DetectedObjects[DetectedObjectName] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
--end
|
||||
end
|
||||
|
||||
self:T2( self.DetectedObjects )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user