Hi,
Thanks for the great library!
I've had a look at the code in the devel branch, and entered the Sequence class method tick.
At line 561, you yield node.
Then, the code checks if the node is the child itself and the node status is SUCCESS.
Then, after some operations, you yield again and return.
I might be wrong, but I think the yield at line 561 is somehow in the wrong place.
Maybe it should be moved after the checks?
It's otherwise hard to reach those checks with the current version, right?
If I'm wrong, please can someone better explain the idea behind the code?
Thanks.
Best.
Stefano
Hi,
Thanks for the great library!
I've had a look at the code in the
develbranch, and entered theSequenceclass methodtick.At
line 561, youyield node.Then, the code checks if the node is the child itself and the node status is
SUCCESS.Then, after some operations, you
yieldagain andreturn.I might be wrong, but I think the
yieldatline 561is somehow in the wrong place.Maybe it should be moved after the checks?
It's otherwise hard to reach those checks with the current version, right?
If I'm wrong, please can someone better explain the idea behind the code?
Thanks.
Best.
Stefano