Changes

no edit summary
Line 111: Line 111:  
     ship.type
 
     ship.type
 
   local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. ship.name[3] .. "</th></tr>"
 
   local row2 = '<tr><th colspan="2">' .. JaName .. '</th><th colspan="2">' .. ship.name[3] .. "</th></tr>"
   local class_string = ship.class == ship.class_override and ship.class or formatTooltip(ship.class, "Game library: " .. ship.class_override)
+
   local class_string = ship.display_class and formatTooltip(ship.class, "Game library: " .. ship.display_class) or ship.class
 
   local row3 = '<tr><td colspan="4" style="text-align: center;">' .. class_string .. " " .. shipType .. "</td></tr>"
 
   local row3 = '<tr><td colspan="4" style="text-align: center;">' .. class_string .. " " .. shipType .. "</td></tr>"
 
   local row4 =
 
   local row4 =
Line 561: Line 561:  
   local class = ship:class()
 
   local class = ship:class()
 
   data.class = class and class:name() or "???"
 
   data.class = class and class:name() or "???"
   data.class_override = class and class:name_override() or "???"
+
   data.display_class = ship._display_class
 
   data.type = ship:formatted_type() or ""
 
   data.type = ship:formatted_type() or ""
 
   data.spd = ship:formatted_speed() or ""
 
   data.spd = ship:formatted_speed() or ""
cssedit, gkautomate
7,064

edits