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

Compare connections by object id

(cherry picked from commit 02535e7f17)
This commit is contained in:
kobewi
2021-09-08 13:57:50 +02:00
committed by Rémi Verschelde
parent a6d9efad9e
commit b13bbba80b

View File

@@ -356,7 +356,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
return method < p_conn.method;
} else {
return target < p_conn.target;
return target->get_instance_id() < p_conn.target->get_instance_id();
}
} else
return signal < p_conn.signal;