Merge pull request #153 from hppeng-wynn/atree-validator-patch

Fix atree validator sometimes giving the wrong reason
This commit is contained in:
hppeng-wynn 2022-07-21 21:57:08 -07:00 committed by GitHub
commit fbefd61e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,6 +403,7 @@ const atree_validate = new (class extends ComputeNode {
reachable.add(ability.id);
}
if (atree_to_add.length == _add.length) {
atree_to_add = _add;
break;
}
atree_to_add = _add;