core: global environment cleanup

This commit is contained in:
Road-block
2019-03-31 14:59:21 +02:00
committed by shagu
parent 9ecafee7d5
commit e50fabfff9
15 changed files with 25 additions and 23 deletions
+2 -2
View File
@@ -983,10 +983,10 @@ pfUI:RegisterModule("actionbar", function ()
pager:RegisterEvent("UPDATE_BONUS_ACTIONBAR")
pager:RegisterEvent("ACTIONBAR_PAGE_CHANGED")
pager:SetScript("OnEvent", function()
bar = GetActiveBar()
local bar = GetActiveBar()
for i=1,12 do
id = i + (bar-1)*12
local id = i + (bar-1)*12
bars[1][i].bar = bar
bars[1][i]:SetID(id)
bars[1][i].forceupdate = true