Changes

Refactor
Line 108: Line 108:  
         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}
Anonymous user