Skip to content

Commit

Permalink
Merge pull request #37890 from nicomitchell/FixPosModTypeReturn
Browse files Browse the repository at this point in the history
Change MATH_POSMOD return type back to INT
  • Loading branch information
akien-mga authored Apr 14, 2020
2 parents 9db5259 + f7cc2b0 commit c9de04b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/visual_script/visual_script_builtin_funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
case MATH_CEIL: {
t = Variant::FLOAT;
} break;
case MATH_POSMOD:
case MATH_POSMOD: {
t = Variant::INT;
} break;
case MATH_ROUND: {
t = Variant::FLOAT;
} break;
Expand Down

0 comments on commit c9de04b

Please sign in to comment.