From 4f9d4373ef020e44ea63150c6ca487897d833a70 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 11 Oct 2021 01:58:41 +0200 Subject: [PATCH] equip-compare: use slots table for second tooltip --- mods/equip-compare.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/equip-compare.lua b/mods/equip-compare.lua index d8e5a01..91af818 100644 --- a/mods/equip-compare.lua +++ b/mods/equip-compare.lua @@ -130,7 +130,7 @@ module.enable = function(self) -- second tooltip if slots[slotType .. "_other"] then - local slotID_other = GetInventorySlotInfo(slotName) + local slotID_other = GetInventorySlotInfo(slots[slotType .. "_other"]) ShoppingTooltip2:SetOwner(GameTooltip, "ANCHOR_NONE"); ShoppingTooltip2:ClearAllPoints(); ShoppingTooltip2:SetPoint(anchor, ShoppingTooltip1, relative, 0, 0);