瀏覽代碼

[csharp] Use explicit primitive declaration.

John 7 年之前
父節點
當前提交
df45ae9d22
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-csharp/src/AnimationState.cs

+ 1 - 1
spine-csharp/src/AnimationState.cs

@@ -366,7 +366,7 @@ namespace Spine {
 			}
 
 			// Queue complete if completed a loop iteration or the animation.
-			var complete = false;
+			bool complete = false;
 			if (entry.loop)
 				complete = duration == 0 || (trackLastWrapped > entry.trackTime % duration);
 			else