Changes

no edit summary
Line 34: Line 34:     
function EquipmentCategoriesKai:create_type_categories()
 
function EquipmentCategoriesKai:create_type_categories()
for i, type in ipairs(self._equipment:types() or {}) do
+
local types = self._equipment:types() or {}
 +
table.insert(self._equipment:type())
 +
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]
 
if type_name then
 
if type_name then
cssedit, gkautomate
7,064

edits