Skip to content

Commit fdc95dc

Browse files
author
justjuangui
committed
Fix ascendancy unlock constraint check in node search parameters
1 parent f4323e4 commit fdc95dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/PassiveTreeView.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ function PassiveTreeViewClass:DoesNodeMatchSearchParams(node)
14711471
end
14721472

14731473
-- Check unlock ascendancy
1474-
if node.unlockConstraint then
1474+
if node.unlockConstraint and node.unlockConstraint.ascendancy then
14751475
err, needMatches = PCall(search, node.unlockConstraint.ascendancy:lower(), needMatches)
14761476
if err then return false end
14771477
if #needMatches == 0 then

0 commit comments

Comments
 (0)