Quantcast

* Added helpful clicks to the masking process, so they are applied ooc.

James Whitehead II [12-31-06 - 04:29]
* Added helpful clicks to the masking process, so they are applied ooc.
Filename
Clique.lua
diff --git a/Clique.lua b/Clique.lua
index 84548a2..8485eb7 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -234,6 +234,22 @@ function Clique:UpdateClicks()
 		end
 	end

+	for modifier,entry in pairs(helpv) do
+		local button = string.gsub(entry.button, "harmbutton", "")
+		button = string.gsub(button, "helpbutton", "")
+		local mask = false
+
+		for k,v in pairs(ooc) do
+			if button == v.button then
+				mask = true
+			end
+		end
+
+		if not mask then
+			table.insert(oocClicks, entry)
+		end
+	end
+
 	for modifier,entry in pairs(ooc) do
 		table.insert(oocClicks, entry)
 	end