mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 13:40:00 +00:00
core: replace remaining getglobals in favor of _G
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ pfUI:RegisterModule("gm", function ()
|
||||
-- table.insert(UnitPopupMenus["PET"], "GM_HEADER")
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user