BTProbability: Fix incorrect percentage shown
This commit is contained in:
parent
c49f5d2b0a
commit
ab564eb631
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue