- 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
Line 108:
Line 108:
− +
Refactor
ship_card = ship and ship:name() or "Invalid Ship Name"
ship_card = ship and ship:name() or "Invalid Ship Name"
elseif ship and ship:name() then
elseif ship and ship:name() then
ship_card = ShipCardKai:card{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
ship_card = ShipCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
else
else
ship_card = Formatting:format_image{self._blank, size = self._size}
ship_card = Formatting:format_image{self._blank, size = self._size}