From a63d536a9d43463ca26d8b628f240f485baaf702 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sun, 31 Dec 2006 04:29:41 +0000 Subject: [PATCH] * Added helpful clicks to the masking process, so they are applied ooc. --- Clique.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 1.7.9.5