Make tableentry from EID:getDescriptionObj() outside if block (#943)
- to fix mod name not showing
This commit is contained in:
1 file changed
+1
-1
@@ -648,8 +648,8 @@ function EID:getDescriptionObj(Type, Variant, SubType, entity, checkModifiers)
|
||||
generatedModularDesc = true
|
||||
end
|
||||
end
|
||||
local tableEntry = EID:getDescriptionData(Type, Variant, SubType)
|
||||
if not generatedModularDesc then
|
||||
local tableEntry = EID:getDescriptionData(Type, Variant, SubType)
|
||||
description.Description = tableEntry and tableEntry[3] or EID:getXMLDescription(Type, Variant, SubType)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user