Changes

m
no edit summary
Line 61: Line 61:  
ship_form_table = ship_table[model]
 
ship_form_table = ship_table[model]
 
if not ship_form_table and ship_table.seasonals then
 
if not ship_form_table and ship_table.seasonals then
             ship_form_table = ship_table.seasonals[model] or U.ifindBy(ship_table.seasonals, function(data) return data._suffix == model end)
+
             ship_form_table = ship_table.seasonals[model] or U.ifindBy(
 +
                ship_table.seasonals,
 +
                function(data)
 +
                    return data._suffix == model and (not data._name or data._name == name)
 +
                end
 +
            )
 +
            if ship_form_table and type(ship_form_table) ~= "string" then
 +
                ship_form_table._seasonal = true
 +
            end
 
         end
 
         end
 
if type(ship_form_table) == "string" then
 
if type(ship_form_table) == "string" then
cssedit, gkautomate
7,064

edits