Merge pull request #16258 from NathanWarden/fix_mono_decimals_method

[Mono] Fix an infinite recursion in the Mathf.Decimals method when using floats.
This commit is contained in:
Rémi Verschelde 2018-02-01 15:39:51 +01:00 committed by GitHub
commit 2459eebc1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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