Changes
mLine 141:
Line 141:
− +
no edit summary
end
end
if ShipCapabilities:_is_submarine(ship) then
if ShipCapabilities:_is_submarine(ship) then
if ship:suffix():match("Elite") or ship:suffix():match("Flagship") then
if ship:suffix() and (ship:suffix():match("Elite") or ship:suffix():match("Flagship")) then
table.insert(roles, self._opening_torpedo_label)
table.insert(roles, self._opening_torpedo_label)
end
end