Skip to content

Commit

Permalink
Fix bug that was erroring during tree-vis
Browse files Browse the repository at this point in the history
  • Loading branch information
ejrgilbert committed May 13, 2024
1 parent 6acf103 commit 544ce62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/behavior/builder_visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ impl BehaviorTreeBuilder {
break;
}
self.tree.exit_decorator();

}
}

Expand All @@ -169,7 +168,6 @@ impl BehaviorTreeBuilder {

self.tree.exit_scope();
self.tree.exit_sequence();
self.tree.exit_decorator();
}

fn visit_probe_ty(&mut self, event: &Event, ty: &str) {
Expand Down
2 changes: 1 addition & 1 deletion src/behavior/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl BehaviorTree {
self.curr = parent.clone()
},
other => {
error!("Something went wrong, expected Decorator, but was: {:?}", other)
error!("Something went wrong, expected ParameterizedAction, but was: {:?}", other)
}
};
self
Expand Down

0 comments on commit 544ce62

Please sign in to comment.