diff options
Diffstat (limited to 'core/array.cpp')
-rw-r--r-- | core/array.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/array.cpp b/core/array.cpp index 9e3250fd47..96e64294ed 100644 --- a/core/array.cpp +++ b/core/array.cpp @@ -72,7 +72,7 @@ void Array::_unref() const { Variant &Array::operator[](int p_idx) { - return _p->array[p_idx]; + return _p->array.write[p_idx]; } const Variant &Array::operator[](int p_idx) const { |