From 549e2fdaa4305833ba446aaba9dae1760c308d4e Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 28 Feb 2017 19:09:31 +0100 Subject: [PATCH] roll: hook function in global space --- modules/roll.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roll.lua b/modules/roll.lua index d9729ece..feb8c0b8 100644 --- a/modules/roll.lua +++ b/modules/roll.lua @@ -143,7 +143,7 @@ pfUI:RegisterModule("roll", function () end end) - function GroupLootFrame_OpenNewFrame(id, rollTime) + function _G.GroupLootFrame_OpenNewFrame(id, rollTime) for i=1,4 do if not pfUI.roll.frames[i]:IsVisible() then pfUI.roll.frames[i].rollID = id