diff options
-rw-r--r-- | core/variant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant.cpp b/core/variant.cpp index 8daa359917..ad0363cc14 100644 --- a/core/variant.cpp +++ b/core/variant.cpp @@ -2105,7 +2105,7 @@ Variant::operator Vector<Variant>() const { variants.resize(va_size); Variant *w = variants.ptrw(); for (int i = 0; i < va_size; i++) - w[i] = variants[i]; + w[i] = va[i]; return variants; } |