Quantcast

Allow Clique to make changed in combat.. using frame:CanChangeAttribute()

James Whitehead II [08-05-09 - 08:27]
Allow Clique to make changed in combat.. using frame:CanChangeAttribute()
Filename
Clique.lua
diff --git a/Clique.lua b/Clique.lua
index ec3b9bc..1cc9320 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -277,7 +277,7 @@ function Clique:RegisterFrame(frame)

 	frame:RegisterForClicks("AnyUp")

-	if frame:CanChangeProtectedState() then
+	if frame:CanChangeAttribute() or frame:CanChangeProtectedState() then
 		if InCombatLockdown() then
 			self:ApplyClickSet(L.CLICKSET_DEFAULT, frame)
 			self:ApplyClickSet(L.CLICKSET_HOSTILE, frame)