diff --git a/src/behavior_tree.cpp b/src/behavior_tree.cpp index b3cec2712..0dbdae939 100644 --- a/src/behavior_tree.cpp +++ b/src/behavior_tree.cpp @@ -126,7 +126,7 @@ void printTreeRecursively(const TreeNode* root_node, std::ostream& stream) stream << "!nullptr!" << std::endl; return; } - stream << node->getShortDescription() << std::endl; + stream << node->name() << std::endl; indent++; if(auto control = dynamic_cast(node))