Changes

no edit summary
Line 19: Line 19:     
function ShipData:unique_name()
 
function ShipData:unique_name()
return self:base_name() .. " " .. self:suffix()
+
local suffix = self:suffix()
 +
if suffix then
 +
return self:base_name() .. " " .. self:suffix()
 +
else
 +
return self:base_name()
 +
end
 
end
 
end
  
Anonymous user