Fix atree validator sometimes giving the wrong reason
accidentally used reasons from previous iteration
This commit is contained in:
parent
ab371f5757
commit
dea0ed56fc
1 changed files with 1 additions and 0 deletions
|
@ -416,6 +416,7 @@ const atree_validate = new (class extends ComputeNode {
|
||||||
reachable.add(ability.id);
|
reachable.add(ability.id);
|
||||||
}
|
}
|
||||||
if (atree_to_add.length == _add.length) {
|
if (atree_to_add.length == _add.length) {
|
||||||
|
atree_to_add = _add;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
atree_to_add = _add;
|
atree_to_add = _add;
|
||||||
|
|
Loading…
Reference in a new issue