api: replace getglobal

This commit is contained in:
shagu
2017-02-26 20:19:22 +01:00
parent 5a10f4ca6b
commit 5a60812786
9 changed files with 82 additions and 82 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ pfUI:RegisterModule("eqcompare", function ()
local border = tonumber(pfUI_config.appearance.border.default)
for i=1,GameTooltip:NumLines() do
local tmpText = getglobal("GameTooltipTextLeft"..i)
local tmpText = _G["GameTooltipTextLeft"..i]
for slotType, slotName in pairs(pfUI.slotTable) do
if tmpText:GetText() == slotType then