summaryrefslogtreecommitdiffstats
path: root/core/array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/array.cpp')
-rw-r--r--core/array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/array.cpp b/core/array.cpp
index 1d283a14aa..146e56b7f8 100644
--- a/core/array.cpp
+++ b/core/array.cpp
@@ -150,9 +150,9 @@ void Array::erase(const Variant& p_value) {
_p->array.erase(p_value);
}
-int Array::find(const Variant& p_value) const {
+int Array::find(const Variant& p_value, int p_from) const {
- return _p->array.find(p_value);
+ return _p->array.find(p_value, p_from);
}
int Array::find_last(const Variant& p_value) const {