summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-09 19:21:20 +0100
committerGitHub <noreply@github.com>2020-11-09 19:21:20 +0100
commitaa6a1094a5d4c06303d413c203c99158b8b4c7e2 (patch)
tree42b52b52b35f57073a8452802fad9d6eb65ca541
parented62876683a88294f6d3a93736f4c0a82a3d3288 (diff)
parenta4a21654b1d14aa7ece9422185b5e6cbc1bd608b (diff)
Merge pull request #43415 from bruvzg/var_ctr_af32
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 e263d98815..5c71f38ef1 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"));