• 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
no edit summary
Line 623: Line 623:  
             if i ~= nil then
 
             if i ~= nil then
 
                 count = count + 1
 
                 count = count + 1
                 if (count == 3 or count == 9) and str ~= nil then
+
                 if (count == 3 or count == 9) and str:sub(i+1,#str) ~= "" then
 
                 str = str:sub(0,i) .. "<br>" .. str:sub(i+1,#str)
 
                 str = str:sub(0,i) .. "<br>" .. str:sub(i+1,#str)
 
             end
 
             end
             if count == 6 and str ~= nil then -- >6 ships --> combined fleet
+
             if count == 6 and str:sub(i+1,#str) ~= "" then -- >6 ships --> combined fleet
 
             str = "<center><b>Main Fleet</b></center>" .. str:sub(0,i) .. "<center><b>Escort Fleet</b></center>" .. str:sub(i+1,#str)
 
             str = "<center><b>Main Fleet</b></center>" .. str:sub(0,i) .. "<center><b>Escort Fleet</b></center>" .. str:sub(i+1,#str)
 
         end
 
         end
5,421

edits

Navigation menu