Skip to content

Commit b18cda5

Browse files
authored
update gem colour indicator to only enabled gems (#9766)
1 parent 8ca83d8 commit b18cda5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/SkillListControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function SkillListClass:GetRowValue(column, index, socketGroup)
8989
if not socketGroup.source then
9090
local colorStr = ""
9191
for _, gem in ipairs(socketGroup.gemList) do
92-
if gem.gemData or gem.grantedEffect then
92+
if (gem.gemData or gem.grantedEffect) and gem.enabled then
9393
local grantedEffect = gem.grantedEffect or (gem.gemData and gem.gemData.grantedEffect)
9494
if grantedEffect then
9595
local char = grantedEffect.color == 1 and "R" or grantedEffect.color == 2 and "G" or grantedEffect.color == 3 and "B" or "W"

0 commit comments

Comments
 (0)