Skip to content

Commit

Permalink
feat: rm storage.running = 0 in while
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeignan1 committed Sep 27, 2023
1 parent 3ec9913 commit 4c66a22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/nodes/decorators/While.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class While<S extends BlueshellState, E> extends Decorator<S, E> {

if (res === rc.RUNNING) {
// yield to the behavior tree because the child node is running
storage.running = 0;
return res;
} else if (storage.break) {
// teardown internal state and yield to the behavior tree because the loop has completed
Expand Down

0 comments on commit 4c66a22

Please sign in to comment.