From edb3581c495620af9b45910965c79e98b189c81f Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 15 Jan 2007 01:31:18 +0000 Subject: [PATCH] * Resolved an issue where helpful and out-of-combat clicks could conflict, with the helpful click taking prescendence. --- Clique.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Clique.lua b/Clique.lua index 79c885e..8254540 100644 --- a/Clique.lua +++ b/Clique.lua @@ -171,12 +171,11 @@ function Clique:UpdateClicks() for modifier,entry in pairs(harm) do local button = string.gsub(entry.button, "harmbutton", "") - button = string.gsub(button, "helpbutton", "") - button = tonumber(button) + button = tonumber(button)c local mask = false for k,v in pairs(ooc) do - if button == v.button then + if button == v.button and v.modifier == entry.modifier then mask = true end end @@ -187,13 +186,12 @@ function Clique:UpdateClicks() end for modifier,entry in pairs(help) do - local button = string.gsub(entry.button, "harmbutton", "") - button = string.gsub(button, "helpbutton", "") + local button = string.gsub(entry.button, "helpbutton", "") button = tonumber(button) local mask = false for k,v in pairs(ooc) do - if button == v.button then + if button == v.button and v.modifier == entry.modifier then mask = true end end -- 1.7.9.5