• 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
Change slots logic to use _slots as override instead of slot size = false
Line 436: Line 436:     
function ShipData:slots()
 
function ShipData:slots()
if self._equipment then
+
if self._slots then
local i = 0
+
return self._slots
for _, v in ipairs(self._equipment) do
+
else
size = v.size
+
return self:slots_length()
if size ~= false then
  −
i = i + 1
  −
end
  −
end
  −
return i
   
end
 
end
return nil
   
end
 
end
  
Anonymous user

Navigation menu