• 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 for fleet of fog infobox
Line 5: Line 5:  
function shipmodule.KanmusuInfo(frame) -- Kanmusu Info Template
 
function shipmodule.KanmusuInfo(frame) -- Kanmusu Info Template
 
     local shipNum = frame.args[1]
 
     local shipNum = frame.args[1]
     if (tonumber(string.sub(shipNum, 1, 3)) == nil) then -- if given a name instead of ID, this searches the db for the ship's corresponding ID
+
     if (tonumber(string.sub(shipNum, 1, 3)) == nil and string.sub(shipNum, 1, 4) ~= "Mist" ) then -- if given a name instead of ID, this searches the db for the ship's corresponding ID
 
     shipNum = shipdb.findID(frame)
 
     shipNum = shipdb.findID(frame)
 
end
 
end
5,421

edits

Navigation menu