diff --git a/eid_api.lua b/eid_api.lua index f4f24613..76e1ed67 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -299,15 +299,13 @@ end -- returns the description object of the specified entity -- falls back to english if the objID isnt available --- entity is optional -function EID:getDescriptionObj(Type, Variant, SubType, entity) +function EID:getDescriptionObj(Type, Variant, SubType) local description = {} description.ObjType = Type description.ObjVariant = Variant description.ObjSubType = SubType description.fullItemString = Type.."."..Variant.."."..description.ObjSubType description.Name = EID:getObjectName(Type, Variant, description.ObjSubType) - description.Entity = entity or nil local tableEntry = EID:getDescriptionData(Type, Variant, description.ObjSubType) description.Description = tableEntry and tableEntry[3] or EID:getXMLDescription(Type, Variant, description.ObjSubType)