Skip to content

Commit cb6d544

Browse files
authored
fix: nodeId check for cluster nodes (#9367)
nodeId is out of scope of this loop and is always nil
1 parent 5b22632 commit cb6d544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/CalcsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ function CalcsTabClass:PowerBuilder()
573573
node.power = {}
574574
end
575575
wipeTable(node.power)
576-
if not node.alloc and node.modKey ~= "" and not self.mainEnv.grantedPassives[nodeId] then
576+
if not node.alloc and node.modKey ~= "" and not self.mainEnv.grantedPassives[node.id] then
577577
if not cache[node.modKey] then
578578
cache[node.modKey] = calcFunc({ addNodes = { [node] = true } }, useFullDPS)
579579
end

0 commit comments

Comments
 (0)