Skip to content

Commit c1acda0

Browse files
author
Davide Faconti
committed
issue #82
1 parent 4d2ea00 commit c1acda0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/controls/reactive_fallback.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ NodeStatus ReactiveFallback::tick()
2929
{
3030
case NodeStatus::RUNNING:
3131
{
32-
running_count++;
33-
}break;
32+
haltChildren(0);
33+
return NodeStatus::RUNNING;
34+
}
3435

3536
case NodeStatus::FAILURE:
3637
{

src/controls/reactive_sequence.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ NodeStatus ReactiveSequence::tick()
3232
running_count++;
3333
haltChildren(index+1);
3434
return NodeStatus::RUNNING;
35-
}break;
35+
}
36+
3637
case NodeStatus::FAILURE:
3738
{
3839
haltChildren(0);

0 commit comments

Comments
 (0)