diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-09 19:21:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 19:21:20 +0100 |
commit | aa6a1094a5d4c06303d413c203c99158b8b4c7e2 (patch) | |
tree | 42b52b52b35f57073a8452802fad9d6eb65ca541 | |
parent | ed62876683a88294f6d3a93736f4c0a82a3d3288 (diff) | |
parent | a4a21654b1d14aa7ece9422185b5e6cbc1bd608b (diff) |
Merge pull request #43415 from bruvzg/var_ctr_af32
Fix duplicate variant constructor typo.
-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 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")); |