diff --git a/mods/equip-compare.lua b/mods/equip-compare.lua index a3dcfdc..9bf89c1 100644 --- a/mods/equip-compare.lua +++ b/mods/equip-compare.lua @@ -22,16 +22,16 @@ module.enable = function(self) if current and current:IsShown() then local text = current:GetText() - local r, g, b, a = current:GetTextColor() + local r, g, b = current:GetTextColor() if text and text ~= "" then if tooltip:NumLines() < i+1 then -- add new line if required - tooltip:AddLine(text, r, g, b, a) + tooltip:AddLine(text, r, g, b, true) else -- update existing lines below:SetText(text) - below:SetTextColor(r, g, b, a) + below:SetTextColor(r, g, b) below:Show() -- hide processed line