Changes

no edit summary
Line 26: Line 26:  
     success, data = U.requireModule('Data/EnemyEquipment/' .. name)
 
     success, data = U.requireModule('Data/EnemyEquipment/' .. name)
 
   end
 
   end
   return data or {_name = name}
+
   if not success then
 +
  return {_name = name}
 +
  end
 +
  return data
 
end
 
end
  
cssedit, gkautomate
7,064

edits