• 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
no edit summary
Line 66: Line 66:     
function NanaminFleetKai:process_los(entry)
 
function NanaminFleetKai:process_los(entry)
     local ship = Ship(entry[1], entry[2])
+
     local ship = Ship(entry[1], entry[2] ~= "/" and entry[2] or "")
 
     local los = ship:los() or 0
 
     local los = ship:los() or 0
 
     local los_max = ship:los_max() or los
 
     local los_max = ship:los_max() or los
Line 164: Line 164:  
             i = i + 1
 
             i = i + 1
 
         end
 
         end
         local ship1 = Ship(self._items[i][1], self._items[i][2])
+
         local ship1 = Ship(self._items[i][1], self._items[i][2] ~= "/" and self._items[i][2] or "")
 
         self:insert_ship_row(ship1)
 
         self:insert_ship_row(ship1)
 
         self:insert_equip_row(ship1, self._items[i], 1)
 
         self:insert_equip_row(ship1, self._items[i], 1)
Line 174: Line 174:  
         local ship2
 
         local ship2
 
         if self._items[i + 1] then
 
         if self._items[i + 1] then
 +
            if self._items[i + 1][2] then self._items[i + 1][2] = self._items[i + 1][2]:gsub('/', '') end
 
             ship2 = Ship(self._items[i + 1][1], self._items[i + 1][2])
 
             ship2 = Ship(self._items[i + 1][1], self._items[i + 1][2])
 
             self:insert_ship_row(ship2)
 
             self:insert_ship_row(ship2)
48

edits

Navigation menu