core: replace remaining getglobals in favor of _G

This commit is contained in:
shagu
2019-04-06 14:30:31 +02:00
parent 85975eaee1
commit d7c64d7d0a
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ pfUI:RegisterModule("raid", function ()
end
hooksecurefunc("UnitPopup_OnClick", function()
local dropdownFrame = getglobal(UIDROPDOWNMENU_INIT_MENU)
local dropdownFrame = _G[UIDROPDOWNMENU_INIT_MENU]
local button = this.value
local unit = dropdownFrame.unit
local name = dropdownFrame.name