diff options
author | SeleckyErik <35656626+SeleckyErik@users.noreply.github.com> | 2020-02-20 23:35:28 +0000 |
---|---|---|
committer | SeleckyErik <35656626+SeleckyErik@users.noreply.github.com> | 2020-02-21 19:10:44 +0000 |
commit | 4a8cb4a818deefa26ad38f5afe7c327c1449b1df (patch) | |
tree | 672eb7fbf8e68312b099905ea83dc329333a40b1 | |
parent | 7c1415b99b7c537dcd5e9886cffde7a92ba5f7f0 (diff) |
Fix Variant to Vector<Variant> conversion operator
-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; } |