diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 0c811342332..630db3256d2 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1221,7 +1221,7 @@ Variant Variant::construct(const Variant::Type p_type, const Variant **p_args, i return (int64_t(*p_args[0])); } case REAL: { - return real_t(*p_args[0]); + return double(*p_args[0]); } case STRING: { return String(*p_args[0]);