Fixed Object name and description being off for Pills

This commit is contained in:
Wofsauge committed 2026-01-25 01:46:14 +01:00
1 parent 3f0b611440
commit aed5a11f0f
1 file changed
+3 -2
+3 -2
View File
@@ -635,8 +635,9 @@ function EID:getDescriptionObj(Type, Variant, SubType, entity, checkModifiers)
description.ObjType = Type
description.ObjVariant = Variant
description.ObjSubType = SubType
description.fullItemString = Type.."."..Variant.."."..SubType
description.Name = EID:getObjectName(Type, Variant, SubType)
local adjustedID = EID:getAdjustedSubtype(Type, Variant, SubType)
description.fullItemString = Type.."."..Variant.."."..adjustedID
description.Name = EID:getObjectName(Type, Variant, adjustedID)
description.Entity = entity or nil
local generatedModularDesc = false