From bf8b447fb00463b02144d45bffef20c24aa2f1ea Mon Sep 17 00:00:00 2001 From: Xruptor Date: Fri, 29 Jul 2016 09:41:55 -0400 Subject: [PATCH] Updated for Legion -Fixed an LUA error and updated it for Legion -Have used on multiple characters and it seems to be working just fine. --- LootRollMover.lua | 7 ++++++- LootRollMover.toc | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/LootRollMover.lua b/LootRollMover.lua index 0db93fc..c29b005 100644 --- a/LootRollMover.lua +++ b/LootRollMover.lua @@ -3,6 +3,11 @@ local f = CreateFrame("frame","LRMFrame",UIParent) f:SetScript("OnEvent", function(self, event, ...) if self[event] then return self[event](self, event, ...) end end) +local debugf = tekDebug and tekDebug:GetFrame("LootRollMover") +local function Debug(...) + if debugf then debugf:AddMessage(string.join(", ", tostringall(...))) end +end + --[[------------------------ ENABLE --------------------------]] @@ -106,7 +111,7 @@ hooksecurefunc("GroupLootFrame_OnShow", RepositionLootFrames) hooksecurefunc("GroupLootFrame_OpenNewFrame", RepositionLootFrames) hooksecurefunc("GroupLootFrame_OnEvent", RepositionLootFrames) hooksecurefunc("GroupLootContainer_Update", RepositionLootFrames) -hooksecurefunc("AlertFrame_FixAnchors", RepositionLootFrames) +--hooksecurefunc("AlertFrame_FixAnchors", RepositionLootFrames) function f:DrawAnchor() diff --git a/LootRollMover.toc b/LootRollMover.toc index 1c685a9..0e66804 100644 --- a/LootRollMover.toc +++ b/LootRollMover.toc @@ -1,8 +1,9 @@ -## Interface: 60000 +## Interface: 70000 ## Title: LootRollMover ## Author: Xruptor -## Version: 3.4 +## Version: 3.5 ## Notes: A simple mod to move the default Blizzard Group Loot Roll Windows +## OptionalDeps: tekDebug ## SavedVariables: LRMDB LootRollMover.lua -- 1.7.9.5