Quantcast

Add friend/enemy attributes to remote snippet as well

James Whitehead II [10-22-10 - 10:23]
Add friend/enemy attributes to remote snippet as well
Filename
Clique.lua
diff --git a/Clique.lua b/Clique.lua
index 33faac4..6de2578 100755
--- a/Clique.lua
+++ b/Clique.lua
@@ -337,10 +337,12 @@ function addon:GetClickAttributes(global)
             if entry.sets.friend then
                 local newbutton = "friend" .. suffix
                 bits[#bits + 1] = ATTR(prefix, "helpbutton", suffix, newbutton)
+                rembits[#rembits + 1] = REMATTR(prefix, "helpbutton", suffix)
                 suffix = newbutton
             elseif entry.sets.enemy then
                 local newbutton = "enemy" .. suffix
                 bits[#bits + 1] = ATTR(prefix, "harmbutton", suffix, newbutton)
+                rembits[#rembits + 1] = REMATTR(prefix, "harmbutton", suffix)
                 suffix = newbutton
             end