Fix Variant to Vector<Variant> conversion operator

This commit is contained in:
SeleckyErik 2020-02-20 23:35:28 +00:00
parent 7c1415b99b
commit 4a8cb4a818

View file

@ -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;
}