mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user