summaryrefslogtreecommitdiffstats
path: root/core/object.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-02-20 15:32:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-21 13:46:45 +0100
commit04bb6a708a5b68ed199e5caa92d16a50992caf52 (patch)
tree0975beb458ec9c7449cb6a9a39fc7a6c12aa0624 /core/object.cpp
parenta24aafcb92992f860694bf411acab1080fc0b3db (diff)
downloadredot-engine-04bb6a708a5b68ed199e5caa92d16a50992caf52.tar.gz
Created the callable_mp macro, for signals to call method pointers directly.
Diffstat (limited to 'core/object.cpp')
-rw-r--r--core/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp
index d5db383cbc..6639db9d84 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1207,7 +1207,7 @@ Error Object::emit_signal(const StringName &p_name, const Variant **p_args, int
if (ce.error == Callable::CallError::CALL_ERROR_INVALID_METHOD && !ClassDB::class_exists(target->get_class_name())) {
//most likely object is not initialized yet, do not throw error.
} else {
- ERR_PRINT("Error calling from signal '" + String(p_name) + "': " + Variant::get_callable_error_text(c.callable, args, argc, ce) + ".");
+ ERR_PRINT("Error calling from signal '" + String(p_name) + "' to callable: " + Variant::get_callable_error_text(c.callable, args, argc, ce) + ".");
err = ERR_METHOD_NOT_FOUND;
}
}