mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +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
|
||||
|
||||
pfUI.addonbuttons:ProcessButtons()
|
||||
for k, v in pfUI.addonbuttons.overrides do
|
||||
for k, v in pairs(pfUI.addonbuttons.overrides) do
|
||||
_G[k] = v
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user