Change round return type to float

This commit is contained in:
Nico Mitchell 2020-04-13 13:02:40 -04:00
parent d4b211bb3d
commit c2ffaf5b2b
1 changed files with 1 additions and 1 deletions

View File

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