Changes

no edit summary
Line 34: Line 34:     
function EquipmentCategoriesKai:create_type_categories()
 
function EquipmentCategoriesKai:create_type_categories()
local types = self._equipment:types() or {}
+
local types = self._equipment:types()
table.insert(types, self._equipment:type())
+
types[3] = self._equipment:type()
 
for i, type in ipairs(types) do
 
for i, type in ipairs(types) do
 
local type_name = type_names[i] and type_names[i][type]
 
local type_name = type_names[i] and type_names[i][type]
cssedit, gkautomate
7,064

edits