Quantcast

Mark current character in gold list

Darthpred [08-22-16 - 12:53]
Mark current character in gold list
Filename
ElvUI_SLE/modules/sledatatexts/currency.lua
diff --git a/ElvUI_SLE/modules/sledatatexts/currency.lua b/ElvUI_SLE/modules/sledatatexts/currency.lua
index c2221b5..46c0c97 100644
--- a/ElvUI_SLE/modules/sledatatexts/currency.lua
+++ b/ElvUI_SLE/modules/sledatatexts/currency.lua
@@ -316,7 +316,7 @@ local function OnEnter(self)
 	sort(ShownGold, SortGold)
 	for i = 1, #ShownGold do
 		local t = ShownGold[i]
-		DT.tooltip:AddDoubleLine(t.name, t.amountText, t.r, t.g, t.b, 1, 1, 1)
+		DT.tooltip:AddDoubleLine(t.name == E.myname and t.name.." |TInterface\\RAIDFRAME\\ReadyCheck-Ready:12|t" or t.name, t.amountText, t.r, t.g, t.b, 1, 1, 1)
 	end

 	DT.tooltip:AddLine' '