actionbar: pass the new bar to ChangeActionBar

This commit is contained in:
shagu
2019-07-22 22:41:16 +02:00
parent decb95286c
commit 8f743ac527
+1 -1
View File
@@ -205,7 +205,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
local function SwitchBar(bar)
if _G.CURRENT_ACTIONBAR_PAGE ~= bar then
_G.CURRENT_ACTIONBAR_PAGE = bar
ChangeActionBarPage()
ChangeActionBarPage(bar)
end
end