Skip to content

Commit 70ff10f

Browse files
committed
Guard against nil slot just in case
1 parent 5b34e9e commit 70ff10f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/CompareTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3799,7 +3799,7 @@ function CompareTabClass:DrawItems(vp, compareEntry, inputEvents)
37993799
else
38003800
-- === COMPACT MODE ===
38013801
local slot = self.primaryBuild.itemsTab.slots[equipSlotName]
3802-
local nodeId = slot.nodeId
3802+
local nodeId = slot and slot.nodeId
38033803
local shouldUnderline = not not nodeId
38043804
local pHover, cHover, b1Hover, b2Hover, b3Hover, b2X, b2Y, b2W, b2H,
38053805
rowHoverItem, rowHoverItemsTab, rowHoverX, rowHoverY, rowHoverW, rowHoverH =

0 commit comments

Comments
 (0)