more consistent variable usage
This commit is contained in:
1 parent
d593c5d581
commit
065ddadaab
1 file changed
+5
-5
+5
-5
@@ -311,14 +311,14 @@ function EID:getDescriptionObj(Type, Variant, SubType, entity)
|
|||||||
description.ObjType = Type
|
description.ObjType = Type
|
||||||
description.ObjVariant = Variant
|
description.ObjVariant = Variant
|
||||||
description.ObjSubType = SubType
|
description.ObjSubType = SubType
|
||||||
description.fullItemString = Type.."."..Variant.."."..description.ObjSubType
|
description.fullItemString = Type.."."..Variant.."."..SubType
|
||||||
description.Name = EID:getObjectName(Type, Variant, description.ObjSubType)
|
description.Name = EID:getObjectName(Type, Variant, SubType)
|
||||||
description.Entity = entity or nil
|
description.Entity = entity or nil
|
||||||
|
|
||||||
local tableEntry = EID:getDescriptionData(Type, Variant, description.ObjSubType)
|
local tableEntry = EID:getDescriptionData(Type, Variant, SubType)
|
||||||
description.Description = tableEntry and tableEntry[3] or EID:getXMLDescription(Type, Variant, description.ObjSubType)
|
description.Description = tableEntry and tableEntry[3] or EID:getXMLDescription(Type, Variant, SubType)
|
||||||
|
|
||||||
description.Transformation = EID:getTransformation(Type, Variant, description.ObjSubType)
|
description.Transformation = EID:getTransformation(Type, Variant, SubType)
|
||||||
|
|
||||||
for k,modifier in pairs(EID.DescModifiers) do
|
for k,modifier in pairs(EID.DescModifiers) do
|
||||||
if modifier.condition(description) then
|
if modifier.condition(description) then
|
||||||
|
|||||||
Reference in new issue
Block a user