Fix an infinite recursion in the Mathf.Decimals method when using floats.

(cherry picked from commit 2109bd3f97)
This commit is contained in:
Nathan Warden 2018-01-31 14:02:17 -05:00 committed by Hein-Pieter van Braam
parent 501880e9ba
commit 4a3a597377

View file

@ -71,7 +71,7 @@ namespace Godot
public static int Decimals(float step) public static int Decimals(float step)
{ {
return Decimals(step); return Decimals((decimal)step);
} }
public static int Decimals(decimal step) public static int Decimals(decimal step)