Changes

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