diff --git a/debugger/behavior_tree_view.cpp b/debugger/behavior_tree_view.cpp index 48c9fa8..0a0675b 100644 --- a/debugger/behavior_tree_view.cpp +++ b/debugger/behavior_tree_view.cpp @@ -70,7 +70,7 @@ void BehaviorTreeView::update_tree(const BehaviorTreeData &p_data) { item->set_metadata(0, task_data.id); item->set_text(0, task_data.name); item->set_icon(0, LimboUtility::get_singleton()->get_task_icon(task_data.type_name)); - item->set_text(2, rtos(Math::snapped(task_data.elapsed_time, 0.01))); + item->set_text(2, rtos(Math::snapped(task_data.elapsed_time, 0.01)).pad_decimals(2)); if (task_data.status == BTTask::SUCCESS) { item->set_custom_draw(0, this, SNAME("_draw_success_status"));