Change MATH_POSMOD return type back to INT

This commit is contained in:
Nico Mitchell 2020-04-14 17:08:22 -04:00
parent 9db525941f
commit f7cc2b090c
1 changed files with 3 additions and 1 deletions

View File

@ -506,7 +506,9 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
case MATH_CEIL: { case MATH_CEIL: {
t = Variant::FLOAT; t = Variant::FLOAT;
} break; } break;
case MATH_POSMOD: case MATH_POSMOD: {
t = Variant::INT;
} break;
case MATH_ROUND: { case MATH_ROUND: {
t = Variant::FLOAT; t = Variant::FLOAT;
} break; } break;