소스 검색

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

Nathan Warden 7 년 전
부모
커밋
2109bd3f97
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/glue/cs_files/Mathf.cs

+ 1 - 1
modules/mono/glue/cs_files/Mathf.cs

@@ -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)