From c2ffaf5b2b6b2d167c7bcfdcc7b1ad58c8d7c858 Mon Sep 17 00:00:00 2001 From: Nico Mitchell Date: Mon, 13 Apr 2020 13:02:40 -0400 Subject: Change round return type to float --- modules/visual_script/visual_script_builtin_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/visual_script/visual_script_builtin_funcs.cpp') diff --git a/modules/visual_script/visual_script_builtin_funcs.cpp b/modules/visual_script/visual_script_builtin_funcs.cpp index 39d8f7c082..2b5a17c36f 100644 --- a/modules/visual_script/visual_script_builtin_funcs.cpp +++ b/modules/visual_script/visual_script_builtin_funcs.cpp @@ -508,7 +508,7 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons } break; case MATH_POSMOD: case MATH_ROUND: { - t = Variant::INT; + t = Variant::FLOAT; } break; case MATH_ABS: { t = Variant::NIL; -- cgit v1.2.3