Updated for Legion
Xruptor [07-29-16 - 13:41]
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.
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