Skip to content

Commit 7536d38

Browse files
author
LocalIdentity
committed
Fix crash on clicking on imbued slot with no active skill gem
1 parent 86c1512 commit 7536d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/GemSelectControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ function GemSelectClass:OnFocusGained()
759759
self:UpdateSortCache()
760760
self:BuildList("")
761761
for index, gemId in pairs(self.list) do
762-
if self.gems[gemId].name == self.buf then
762+
if self.gems[gemId] and self.gems[gemId].name == self.buf then
763763
self.selIndex = index
764764
self:ScrollSelIntoView()
765765
break

0 commit comments

Comments
 (0)