Fix duplicate variant constructor typo.

This commit is contained in:
bruvzg 2020-11-09 18:34:17 +02:00
parent fdf84d25f3
commit a4a21654b1
No known key found for this signature in database
GPG key ID: FCED35F1CECE0D3A

View file

@ -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"));