Changes

no edit summary
Line 773: Line 773:  
function ShipData:create(ship)
 
function ShipData:create(ship)
 
ship = ship or {}
 
ship = ship or {}
if ship._class then
+
if type(ship._class) == 'string' then
 
ship._class = ShipClass(ship._class)
 
ship._class = ShipClass(ship._class)
 
end
 
end
cssedit, gkautomate
6,928

edits