1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix double single quotes in connect error print

(cherry picked from commit 4950ef7478)
This commit is contained in:
Poommetee Ketson
2017-08-27 00:46:33 +07:00
committed by Rémi Verschelde
parent 449ef95c40
commit 3629f23d81

View File

@@ -1363,7 +1363,7 @@ Error Object::connect(const StringName &p_signal, Object *p_to_object, const Str
Signal::Target target(p_to_object->get_instance_ID(), p_to_method); Signal::Target target(p_to_object->get_instance_ID(), p_to_method);
if (s->slot_map.has(target)) { if (s->slot_map.has(target)) {
ERR_EXPLAIN("Signal '" + p_signal + "'' already connected to given method '" + p_to_method + "' in that object."); ERR_EXPLAIN("Signal '" + p_signal + "' is already connected to given method '" + p_to_method + "' in that object.");
ERR_FAIL_COND_V(s->slot_map.has(target), ERR_INVALID_PARAMETER); ERR_FAIL_COND_V(s->slot_map.has(target), ERR_INVALID_PARAMETER);
} }