From 4a8cb4a818deefa26ad38f5afe7c327c1449b1df Mon Sep 17 00:00:00 2001 From: SeleckyErik <35656626+SeleckyErik@users.noreply.github.com> Date: Thu, 20 Feb 2020 23:35:28 +0000 Subject: Fix Variant to Vector conversion operator --- core/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() 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; } -- cgit v1.2.3