summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-11-09 18:34:17 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-11-09 18:34:17 +0200
commita4a21654b1d14aa7ece9422185b5e6cbc1bd608b (patch)
tree642b38bfc673ec71153e545681354e14319c5d58
parentfdf84d25f3070f7cb8b6fb771f4a71ae4fb25f8e (diff)
Fix duplicate variant constructor typo.
-rw-r--r--core/variant/variant_construct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_construct.cpp b/core/variant/variant_construct.cpp
index b847ba09b9..bf7938a7eb 100644
--- a/core/variant/variant_construct.cpp
+++ b/core/variant/variant_construct.cpp
@@ -594,7 +594,7 @@ void Variant::_register_variant_constructors() {
add_constructor<VariantConstructorToArray<PackedByteArray>>(sarray("from"));
add_constructor<VariantConstructorToArray<PackedInt32Array>>(sarray("from"));
add_constructor<VariantConstructorToArray<PackedInt64Array>>(sarray("from"));
- add_constructor<VariantConstructorToArray<PackedFloat64Array>>(sarray("from"));
+ add_constructor<VariantConstructorToArray<PackedFloat32Array>>(sarray("from"));
add_constructor<VariantConstructorToArray<PackedFloat64Array>>(sarray("from"));
add_constructor<VariantConstructorToArray<PackedStringArray>>(sarray("from"));
add_constructor<VariantConstructorToArray<PackedVector2Array>>(sarray("from"));