• 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
m
Undo revision 1096125 by がか (talk)
Line 53: Line 53:  
     if names[1] then
 
     if names[1] then
 
         for _, f in ipairs(names) do
 
         for _, f in ipairs(names) do
             if f.flagship and string.sub(fleet[1], 1, string.len(f.flagship)) == f.flagship then
+
             for _, ship in ipairs(f.ships) do
                return f.name
+
                for _, e in ipairs(fleet) do
            else
+
                    if string.sub(e.ship, 1, string.len(ship)) == ship then
                for _, ship in ipairs(f.ships) do
+
                        return f.name
                    for _, e in ipairs(fleet) do
  −
                        if string.sub(e.ship, 1, string.len(ship)) == ship then
  −
                            return f.name
  −
                        end
   
                     end
 
                     end
 
                 end
 
                 end
cssedit, gkautomate
6,928

edits

Navigation menu