Fixed some glitches in Detection (when set is empty) + documentation

This commit is contained in:
FlightControl_Master
2017-07-22 08:20:23 +02:00
parent 4d33abb0eb
commit b769ad143d
12 changed files with 223 additions and 54 deletions

View File

@@ -344,7 +344,6 @@ do -- DETECTION_BASE
-- Create FSM transitions.
self:SetStartState( "Stopped" )
self.CountryID = DetectionSetGroup:GetFirst():GetCountry()
self:AddTransition( "Stopped", "Start", "Detecting")
@@ -2626,6 +2625,7 @@ do -- DETECTION_AREAS
end
if DETECTION_AREAS._BoundDetectedZones or self._BoundDetectedZones then
self.CountryID = DetectionSetGroup:GetFirst():GetCountry()
DetectedZone:BoundZone( 12, self.CountryID )
end
end