Browse Source

Merge pull request #10664 from Noshyaar/patch-2

Fix double single quotes in `connect` error print
Rémi Verschelde 8 years ago
parent
commit
53acb7876d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/object.cpp

+ 1 - 1
core/object.cpp

@@ -1472,7 +1472,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);
 	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);
 	}