equip-compare: use slots table for second tooltip

This commit is contained in:
shagu
2021-10-11 01:58:41 +02:00
parent ce0c6fb050
commit 4f9d4373ef
+1 -1
View File
@@ -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);