Changes

m
no edit summary
Line 249: Line 249:  
             local ship = Ship(drops[i], "")
 
             local ship = Ship(drops[i], "")
 
             local card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
 
             local card = ShipCardKai:battle_card{ship = ship, link = ship:link(), caption = ship:name()}
             if self._args["text_only"] then card = ship:name() end
+
             if self._args["text_only"] then
            content = content .. "*" .. card .. " "
+
                card = ship:name()
 +
                content = content .. "*"
 +
            end
 +
            content = content .. card .. " "
 
             if i % 3 == 0 then
 
             if i % 3 == 0 then
 
                 content = mw.ustring.sub(content, 1, -2) .. "<br />"
 
                 content = mw.ustring.sub(content, 1, -2) .. "<br />"
48

edits