1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Change round return type to float

(cherry picked from commits c2ffaf5b2b
and f7cc2b090c)
This commit is contained in:
Nico Mitchell
2020-04-13 13:02:40 -04:00
committed by Rémi Verschelde
parent 3d69fe95e5
commit 616d106247

View File

@@ -506,10 +506,12 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
case MATH_CEIL: {
t = Variant::REAL;
} break;
case MATH_POSMOD:
case MATH_ROUND: {
case MATH_POSMOD: {
t = Variant::INT;
} break;
case MATH_ROUND: {
t = Variant::REAL;
} break;
case MATH_ABS: {
t = Variant::NIL;
} break;