Changes

no edit summary
Line 95: Line 95:     
function ShipInfoKai:edit_link(ship_data_module)
 
function ShipInfoKai:edit_link(ship_data_module)
return Formatting:format_edit_link(ship_data_module, self._edit_link_text, self._ship_data_documentation)
+
if ship_data_module then
 +
return Formatting:format_edit_link(ship_data_module, self._edit_link_text, self._ship_data_documentation)
 +
end
 +
return format{"<strike>${text}</strike>", text = self._edit_link_text}
 
end
 
end
  
Anonymous user