From c9490fdf3877c7f15429ad99ecf6c5549c5b32a4 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 7 Aug 2009 19:44:24 +0200 Subject: [PATCH] Use hookscript prior to setscript --- oUF_Reputation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oUF_Reputation.lua b/oUF_Reputation.lua index 35b1e75..49b70b0 100644 --- a/oUF_Reputation.lua +++ b/oUF_Reputation.lua @@ -52,8 +52,8 @@ local function enable(self, unit) if(bar.Tooltip) then bar:EnableMouse() - bar:SetScript('OnLeave', GameTooltip_OnLeave) - bar:SetScript('OnEnter', tooltip) + bar:HookScript('OnLeave', GameTooltip_OnLeave) + bar:HookScript('OnEnter', tooltip) end return true -- 1.7.9.5