summaryrefslogtreecommitdiffstats
path: root/editor/multi_node_edit.h
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-06 16:43:04 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-06 18:03:37 +0200
commit86de59d60a72e91d135450cccae4e220088a8a4b (patch)
treeacae9333fcc64c6bc6802090ba18a9113e2874ae /editor/multi_node_edit.h
parentd8aa2c65a9f857e86d0c1fc1cc6b95b8ccf23099 (diff)
downloadredot-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.h2
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;
}
}