equip-compare: dont create this table every function call
This commit is contained in:
@@ -10,9 +10,10 @@ local module = ShaguTweaks:register({
|
||||
})
|
||||
|
||||
module.enable = function(self)
|
||||
local sides = { "Left", "Right" }
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user