diff --git a/core/object.cpp b/core/object.cpp index 86ede3ce289..ed20874c7fe 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -357,7 +357,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const { return signal < p_conn.signal; } } else { - return source < p_conn.source; + return source->get_instance_id() < p_conn.source->get_instance_id(); } } Object::Connection::Connection(const Variant &p_variant) {