eqcompare: precache tooltip side table

This commit is contained in:
shagu
2025-04-20 14:15:51 +02:00
parent d441af5a1c
commit f6b63e676d
+1 -1
View File
@@ -1,4 +1,5 @@
pfUI:RegisterModule("eqcompare", "vanilla", function ()
local sides = { "Left", "Right" }
local loc = pfUI.cache["locale"]
for key, value in pairs(L["itemtypes"]) do setglobal(key, value) end
INVTYPE_WEAPON_OTHER = INVTYPE_WEAPON.."_other"
@@ -7,7 +8,6 @@ pfUI:RegisterModule("eqcompare", "vanilla", function ()
local function AddHeader(tooltip)
local name = tooltip:GetName()
local sides = { "Left", "Right" }
-- shift all entries one line down
for i=tooltip:NumLines(), 1, -1 do