mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 18:40:49 +00:00
addonbuttons: use pairs to iterate on tables
This commit is contained in:
@@ -401,7 +401,7 @@ pfUI:RegisterModule("addonbuttons", "vanilla", function ()
|
|||||||
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + 3 end
|
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + 3 end
|
||||||
|
|
||||||
pfUI.addonbuttons:ProcessButtons()
|
pfUI.addonbuttons:ProcessButtons()
|
||||||
for k, v in pfUI.addonbuttons.overrides do
|
for k, v in pairs(pfUI.addonbuttons.overrides) do
|
||||||
_G[k] = v
|
_G[k] = v
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user