You've already forked godot
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:
@@ -356,7 +356,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
|
|||||||
return method < p_conn.method;
|
return method < p_conn.method;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
return target < p_conn.target;
|
return target->get_instance_id() < p_conn.target->get_instance_id();
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
return signal < p_conn.signal;
|
return signal < p_conn.signal;
|
||||||
|
|||||||
Reference in New Issue
Block a user