Changes

no edit summary
Line 398: Line 398:     
function ShipInfoKai:create_item()
 
function ShipInfoKai:create_item()
self._ship = Ship(self._args.name, self._args.model)
+
if self._args.name then
 +
self._ship = Ship(self._args.name, self._args.model)
 +
else
 +
self._ship = Ship(self._args[1])
 +
end
 
end
 
end
  
Anonymous user