mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Minor fixes
This commit is contained in:
parent
0ce3a189c3
commit
11f0b2899d
@ -435,7 +435,8 @@ function STRATEGO:AnalyseBases()
|
|||||||
if not abzone then
|
if not abzone then
|
||||||
abzone = ZONE_RADIUS:New(abname,ab:GetVec2(),500)
|
abzone = ZONE_RADIUS:New(abname,ab:GetVec2(),500)
|
||||||
end
|
end
|
||||||
local coa = ab:GetCoalition() + 1
|
local coa = ab:GetCoalition() or 0
|
||||||
|
coa = coa+1
|
||||||
local abtype = "AIRBASE"
|
local abtype = "AIRBASE"
|
||||||
if ab:IsShip() then
|
if ab:IsShip() then
|
||||||
numrwys = 1
|
numrwys = 1
|
||||||
|
|||||||
@ -121,6 +121,7 @@ do
|
|||||||
-- @field #number TacticalIncrFreq
|
-- @field #number TacticalIncrFreq
|
||||||
-- @field #number TacticalModulation
|
-- @field #number TacticalModulation
|
||||||
-- @field #number TacticalInterval
|
-- @field #number TacticalInterval
|
||||||
|
-- @field Core.Set#SET_GROUP DetectionSet
|
||||||
-- @extends Core.Fsm#FSM
|
-- @extends Core.Fsm#FSM
|
||||||
|
|
||||||
|
|
||||||
@ -603,6 +604,7 @@ AWACS = {
|
|||||||
TacticalIncrFreq = 0.5,
|
TacticalIncrFreq = 0.5,
|
||||||
TacticalModulation = radio.modulation.AM,
|
TacticalModulation = radio.modulation.AM,
|
||||||
TacticalInterval = 120,
|
TacticalInterval = 120,
|
||||||
|
DetectionSet = nil,
|
||||||
}
|
}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@ -578,7 +578,7 @@ function INTEL:AddAgent(AgentGroup)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Add to detection set.
|
-- Add to detection set.
|
||||||
self.detectionset:AddGroup(AgentGroup)
|
self.detectionset:AddGroup(AgentGroup,true)
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user