Merge pull request #213 from limbonaut/fix-setagentprop-name

Fix `BTSetAgentProperty` name generation
This commit is contained in:
Serhii Snitsaruk 2024-09-14 20:23:58 +02:00 committed by GitHub
commit d72c2e0648
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ String BTSetAgentProperty::_generate_name() {
return "SetAgentProperty ???";
}
return vformat("Set agent.%s = %s", property,
return vformat("Set agent.%s %s= %s",
property,
LimboUtility::get_singleton()->get_operation_string(operation),
value.is_valid() ? Variant(value) : Variant("???"));
}