summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorNico Mitchell <namitc02@louisville.edu>2020-04-13 13:02:40 -0400
committerNico Mitchell <namitc02@louisville.edu>2020-04-13 13:02:40 -0400
commitc2ffaf5b2b6b2d167c7bcfdcc7b1ad58c8d7c858 (patch)
tree792481e978eddc5c008c1a2daca2a5c411e912ed /modules
parentd4b211bb3d8c71dc48b933fe1cede6250069b857 (diff)
Change round return type to float
Diffstat (limited to 'modules')
-rw-r--r--modules/visual_script/visual_script_builtin_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
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;