diff --git a/js/atree.js b/js/atree.js index 0a6151c..1ab5e4c 100644 --- a/js/atree.js +++ b/js/atree.js @@ -416,6 +416,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;