mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Disabled SetSquadronVisible due to a bug fix that is required.
This commit is contained in:
@@ -1778,21 +1778,22 @@ do -- AI_A2G_DISPATCHER
|
|||||||
-- -- Set the Squadron visible before startup of dispatcher.
|
-- -- Set the Squadron visible before startup of dispatcher.
|
||||||
-- A2GDispatcher:SetSquadronVisible( "Mineralnye" )
|
-- A2GDispatcher:SetSquadronVisible( "Mineralnye" )
|
||||||
--
|
--
|
||||||
function AI_A2G_DISPATCHER:SetSquadronVisible( SquadronName )
|
-- TODO: disabling because of bug in queueing.
|
||||||
|
-- function AI_A2G_DISPATCHER:SetSquadronVisible( SquadronName )
|
||||||
self.DefenderSquadrons[SquadronName] = self.DefenderSquadrons[SquadronName] or {}
|
--
|
||||||
|
-- self.DefenderSquadrons[SquadronName] = self.DefenderSquadrons[SquadronName] or {}
|
||||||
local DefenderSquadron = self:GetSquadron( SquadronName )
|
--
|
||||||
|
-- local DefenderSquadron = self:GetSquadron( SquadronName )
|
||||||
DefenderSquadron.Uncontrolled = true
|
--
|
||||||
self:SetSquadronTakeoffFromParkingCold( SquadronName )
|
-- DefenderSquadron.Uncontrolled = true
|
||||||
self:SetSquadronLandingAtEngineShutdown( SquadronName )
|
-- self:SetSquadronTakeoffFromParkingCold( SquadronName )
|
||||||
|
-- self:SetSquadronLandingAtEngineShutdown( SquadronName )
|
||||||
for SpawnTemplate, DefenderSpawn in pairs( self.DefenderSpawns ) do
|
--
|
||||||
DefenderSpawn:InitUnControlled()
|
-- for SpawnTemplate, DefenderSpawn in pairs( self.DefenderSpawns ) do
|
||||||
end
|
-- DefenderSpawn:InitUnControlled()
|
||||||
|
-- end
|
||||||
end
|
--
|
||||||
|
-- end
|
||||||
|
|
||||||
--- Check if the Squadron is visible before startup of the dispatcher.
|
--- Check if the Squadron is visible before startup of the dispatcher.
|
||||||
-- @param #AI_A2G_DISPATCHER self
|
-- @param #AI_A2G_DISPATCHER self
|
||||||
|
|||||||
Reference in New Issue
Block a user