Changes

no edit summary
Line 35: Line 35:  
function EquipmentCategoriesKai:create_type_categories()
 
function EquipmentCategoriesKai:create_type_categories()
 
local types = self._equipment:types() or {}
 
local types = self._equipment:types() or {}
table.insert(self._equipment:type())
+
table.insert(types, 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