Changes

no edit summary
Line 326: Line 326:  
return nil
 
return nil
 
end
 
end
 +
--[[
 +
local has_bomber_planes = false
 +
for i = 1, self._ship:slots_length() do
 +
local equipment, size = self._ship:slot(i)
 +
if equipment and self:_is_bomber(equipment) and size and size > 0 then
 +
has_bomber_planes = true
 +
break
 +
end
 +
end
 +
]]--
 
local is_installation_bbv = self._ship:speed() == 0 and self._ship:type() == 10
 
local is_installation_bbv = self._ship:speed() == 0 and self._ship:type() == 10
 
if not self:_is_carrier() and not is_installation_bbv then
 
if not self:_is_carrier() and not is_installation_bbv then
cssedit, gkautomate
6,940

edits