Changes

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