• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Fix icon when slot disabled with no equipment
Line 391: Line 391:  
equipment_type = false
 
equipment_type = false
 
end
 
end
 
+
if icon ~= "" then
icon = Formatting:format_image{Formatting:format_equipment_icon(icon), caption = Formatting:format_equipment_type(equipment_type)}
+
icon = Formatting:format_image{Formatting:format_equipment_icon(icon), caption = Formatting:format_equipment_type(equipment_type)}
 +
end
 
end
 
end
 
table.insert(slots, format{self._slot_template,  
 
table.insert(slots, format{self._slot_template,  
Anonymous user

Navigation menu