Fixed Object name and description being off for Pills
This commit is contained in:
1 parent
3f0b611440
commit
aed5a11f0f
1 file changed
+3
-2
@@ -635,8 +635,9 @@ function EID:getDescriptionObj(Type, Variant, SubType, entity, checkModifiers)
|
|||||||
description.ObjType = Type
|
description.ObjType = Type
|
||||||
description.ObjVariant = Variant
|
description.ObjVariant = Variant
|
||||||
description.ObjSubType = SubType
|
description.ObjSubType = SubType
|
||||||
description.fullItemString = Type.."."..Variant.."."..SubType
|
local adjustedID = EID:getAdjustedSubtype(Type, Variant, SubType)
|
||||||
description.Name = EID:getObjectName(Type, Variant, SubType)
|
description.fullItemString = Type.."."..Variant.."."..adjustedID
|
||||||
|
description.Name = EID:getObjectName(Type, Variant, adjustedID)
|
||||||
description.Entity = entity or nil
|
description.Entity = entity or nil
|
||||||
|
|
||||||
local generatedModularDesc = false
|
local generatedModularDesc = false
|
||||||
|
|||||||
Reference in new issue
Block a user