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:
@@ -2637,8 +2637,7 @@ do -- AI_A2G_DISPATCHER
|
|||||||
|
|
||||||
if DefenderTaskTarget and DefenderTaskTarget.Index == AttackerDetection.Index then
|
if DefenderTaskTarget and DefenderTaskTarget.Index == AttackerDetection.Index then
|
||||||
|
|
||||||
local Squadron = self:GetSquadronFromDefender( Defender )
|
local SquadronOverhead = self:GetSquadronOverhead( DefenderSquadronName )
|
||||||
local SquadronOverhead = self:GetSquadronOverhead( Squadron.SquadronName )
|
|
||||||
|
|
||||||
local DefenderSize = Defender:GetInitialSize()
|
local DefenderSize = Defender:GetInitialSize()
|
||||||
if DefenderSize then
|
if DefenderSize then
|
||||||
|
|||||||
Reference in New Issue
Block a user