Updates of working version.

This commit is contained in:
FlightControl
2019-04-26 18:42:42 +02:00
parent ab423b3ba4
commit 3657a19645
3 changed files with 37 additions and 39 deletions

View File

@@ -541,14 +541,17 @@ do -- DETECTION_BASE
end
self.DetectionCount = self.DetectionSet:GetSomeIteratorLimit()
self.DetectionCount = self.DetectionSet:Count()
self.DetectionSet:ForSomeGroupAlive(
self.DetectionSet:ForEachGroupAlive(
function( DetectionGroup )
self:__Detection( DetectDelay, DetectionGroup, DetectionTimeStamp ) -- Process each detection asynchronously.
DetectDelay = DetectDelay + 1
end
)
self:__Detect( -self.RefreshTimeInterval )
end
--- @param #DETECTION_BASE self
@@ -803,10 +806,9 @@ do -- DETECTION_BASE
self:__DetectedItem( 0.1, DetectedItem )
end
end
self:__Detect( self.RefreshTimeInterval )
end
end