diff options
-rw-r--r-- | core/variant/variant_construct.cpp | 2 |
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")); |