You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update connection comparison operator to compare connection sources based on instance ID instead of by pointer
(cherry picked from commit ede023d4fa)
This commit is contained in:
committed by
Rémi Verschelde
parent
b13bbba80b
commit
20ec596a5d
@@ -361,7 +361,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
|
||||
} else
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user