GDScript: Fix Callable call error text

This commit is contained in:
Danil Alexeev 2025-05-02 18:22:49 +03:00
parent 1cf573f44d
commit 2b30f23595
No known key found for this signature in database
GPG key ID: 5A52F75A8679EC57
7 changed files with 48 additions and 15 deletions

View file

@ -45,7 +45,7 @@ uint32_t VariantCallable::hash() const {
}
String VariantCallable::get_as_text() const {
return vformat("%s::%s (Callable)", Variant::get_type_name(variant.get_type()), method);
return vformat("%s::%s", Variant::get_type_name(variant.get_type()), method);
}
CallableCustom::CompareEqualFunc VariantCallable::get_compare_equal_func() const {