Skip to content

Commit 8b8d437

Browse files
LocalIdentityLocalIdentity
andauthored
Fix gems being added to skill groups when sorting dropdown (#1221)
Copy from PathOfBuildingCommunity/PathOfBuilding#8802 Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent e552cba commit 8b8d437

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Classes/GemSelectControl.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ end)
4848

4949
function GemSelectClass:CalcOutputWithThisGem(calcFunc, gemData, useFullDPS)
5050
local gemList = self.skillsTab.displayGroup.gemList
51+
local displayGemList = self.skillsTab.displayGroup.displayGemList
5152
local oldGem
5253
if gemList[self.index] then
5354
oldGem = copyTable(gemList[self.index], true)
@@ -82,7 +83,9 @@ function GemSelectClass:CalcOutputWithThisGem(calcFunc, gemData, useFullDPS)
8283
else
8384
gemList[self.index] = nil
8485
end
85-
86+
87+
self.skillsTab.displayGroup.displayGemList = displayGemList
88+
8689
return output, gemInstance
8790
end
8891

0 commit comments

Comments
 (0)