Fixed Horsepill descriptions and icon not working

This commit is contained in:
Wofsauge committed 2021-07-30 00:09:45 +02:00
1 parent f7b72ba35a
commit 711667e8c1
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -355,7 +355,7 @@ function EID:getDescriptionData(Type, Variant, SubType)
local fullString = Type.."."..Variant
local adjustedID = EID:getAdjustedSubtype(Type, Variant, SubType)
local moddedDesc = EID:getDescriptionEntry("custom", fullString.."."..adjustedID)
local tableName = EID:getTableName(Type, Variant, adjustedID)
local tableName = EID:getTableName(Type, Variant, SubType)
local legacyModdedDescription = EID:getLegacyModDescription(Type, Variant, adjustedID)
local defaultDesc = EID:getDescriptionEntry(tableName, adjustedID)