mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
core: replace remaining getglobals in favor of _G
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user