Changes

m
no edit summary
Line 105: Line 105:  
      
 
      
 
     local ignore_common = args.ignore_common or true
 
     local ignore_common = args.ignore_common or true
   
  −
    if ignore_common == false then
  −
        ignored_ships = nil
  −
    end
      
local tbl = { nodes = {}, rows = {}, debug = '', classes = args.classes }
 
local tbl = { nodes = {}, rows = {}, debug = '', classes = args.classes }
Line 167: Line 163:  
if ship and nodes then
 
if ship and nodes then
 
local ship_table = Ship:get_table(ship, '')
 
local ship_table = Ship:get_table(ship, '')
if ship_table and ship_table._type then
+
if (ship_table and ship_table._type) or ignore_common == false then
 
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
 
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
 
if find(tbl.rows, ship, 'ship') then
 
if find(tbl.rows, ship, 'ship') then
cssedit, prechecked
1,656

edits