diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-06 16:43:04 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-06 18:03:37 +0200 |
commit | 86de59d60a72e91d135450cccae4e220088a8a4b (patch) | |
tree | acae9333fcc64c6bc6802090ba18a9113e2874ae /editor/multi_node_edit.h | |
parent | d8aa2c65a9f857e86d0c1fc1cc6b95b8ccf23099 (diff) | |
download | redot-engine-86de59d60a72e91d135450cccae4e220088a8a4b.tar.gz |
[Core] Add `LocalVector::has` for convenience
Diffstat (limited to 'editor/multi_node_edit.h')
-rw-r--r-- | editor/multi_node_edit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/multi_node_edit.h b/editor/multi_node_edit.h index 000d41c4c1..32fe7402fd 100644 --- a/editor/multi_node_edit.h +++ b/editor/multi_node_edit.h @@ -73,7 +73,7 @@ public: return false; } for (int i = 0; i < get_node_count(); i++) { - if (nodes.find(p_other->get_node(i)) == -1) { + if (!nodes.has(p_other->get_node(i))) { return false; } } |