Minor fixes

This commit is contained in:
Applevangelist
2024-01-19 19:09:08 +01:00
parent 0ce3a189c3
commit 11f0b2899d
3 changed files with 5 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ do
-- @field #number TacticalIncrFreq
-- @field #number TacticalModulation
-- @field #number TacticalInterval
-- @field Core.Set#SET_GROUP DetectionSet
-- @extends Core.Fsm#FSM
@@ -603,6 +604,7 @@ AWACS = {
TacticalIncrFreq = 0.5,
TacticalModulation = radio.modulation.AM,
TacticalInterval = 120,
DetectionSet = nil,
}
---

View File

@@ -578,7 +578,7 @@ function INTEL:AddAgent(AgentGroup)
end
-- Add to detection set.
self.detectionset:AddGroup(AgentGroup)
self.detectionset:AddGroup(AgentGroup,true)
return self
end