diff --git a/bt/tasks/decorators/bt_probability.cpp b/bt/tasks/decorators/bt_probability.cpp index 847143b..29f3b5d 100644 --- a/bt/tasks/decorators/bt_probability.cpp +++ b/bt/tasks/decorators/bt_probability.cpp @@ -19,7 +19,7 @@ void BTProbability::set_run_chance(float p_value) { } String BTProbability::_generate_name() { - return vformat("Probability %.1f%%", run_chance); + return vformat("Probability %.1f%%", run_chance * 100.0); } BT::Status BTProbability::_tick(double p_delta) {