• 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
no edit summary
Line 74: Line 74:  
function ShipInfoKai:bg_color(ship)
 
function ShipInfoKai:bg_color(ship)
 
local rarity = ship:rarity()
 
local rarity = ship:rarity()
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity > 7, rarity > 6)
+
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6)
 
end
 
end
  
Anonymous user

Navigation menu