Allow user to change mod indicator color

This commit is contained in:
Valentin Lampriere committed 2022-01-15 00:28:34 +01:00
1 parent a4594c02d2
commit 04c593210c
3 files changed
+30 -2

No files matched your search

+2 -2
View File
@@ -382,9 +382,9 @@ function EID:printDescription(desc)
if desc.ModName then
if EID.Config["ModIndicatorDisplay"] == "Both" or EID.Config["ModIndicatorDisplay"] == "Name only" then
curName = curName .. " {{ColorWhite}}" .. EID.ModIndicator[desc.ModName].Name
curName = curName .. " {{"..EID.Config["ModIndicatorTextColor"].."}}" .. EID.ModIndicator[desc.ModName].Name
end
if EID.Config["ModIndicatorDisplay"] == "Both" or EID.Config["ModIndicatorDisplay"] == "Icon only" and EID.ModIndicator[desc.ModName].Icon then
if (EID.Config["ModIndicatorDisplay"] == "Both" or EID.Config["ModIndicatorDisplay"] == "Icon only") and EID.ModIndicator[desc.ModName].Icon then
curName = curName .. "{{".. EID.ModIndicator[desc.ModName].Icon .."}}"
end
end