Optimizations A2G

This commit is contained in:
FlightControl
2019-01-09 21:31:22 +01:00
parent 8e66031afe
commit 382dfd797c
5 changed files with 68 additions and 41 deletions

View File

@@ -1233,7 +1233,7 @@ do -- DETECTION_BASE
-- @param DCS#Unit.Category Category The category of the unit.
-- @return #boolean true if there are friendlies nearby
function DETECTION_BASE:IsFriendliesNearBy( DetectedItem, Category )
--self:F( { "FriendliesNearBy Test", DetectedItem.FriendliesNearBy } )
-- self:F( { "FriendliesNearBy Test", DetectedItem.FriendliesNearBy } )
return ( DetectedItem.FriendliesNearBy and DetectedItem.FriendliesNearBy[Category] ~= nil ) or false
end