mirror of
https://github.com/godotengine/godot.git
synced 2025-01-01 07:43:16 +00:00
Fix an infinite recursion in the Mathf.Decimals method when using floats.
This commit is contained in:
parent
9f3138eea9
commit
2109bd3f97
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user