mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixing problem with squadron not found for CAS tasking.
This commit is contained in:
parent
1b691e5887
commit
84e9d225e9
@ -2637,8 +2637,7 @@ do -- AI_A2G_DISPATCHER
|
||||
|
||||
if DefenderTaskTarget and DefenderTaskTarget.Index == AttackerDetection.Index then
|
||||
|
||||
local Squadron = self:GetSquadronFromDefender( Defender )
|
||||
local SquadronOverhead = self:GetSquadronOverhead( Squadron.SquadronName )
|
||||
local SquadronOverhead = self:GetSquadronOverhead( DefenderSquadronName )
|
||||
|
||||
local DefenderSize = Defender:GetInitialSize()
|
||||
if DefenderSize then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user