mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Updates of working version.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user