aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/GD.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/cs_files/GD.cs')
-rw-r--r--modules/mono/glue/cs_files/GD.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/cs_files/GD.cs b/modules/mono/glue/cs_files/GD.cs
index f0967f226..f565d092d 100644
--- a/modules/mono/glue/cs_files/GD.cs
+++ b/modules/mono/glue/cs_files/GD.cs
@@ -124,7 +124,7 @@ namespace Godot
return new int[0];
// Calculate count
- var count = 0;
+ int count;
if (increment > 0)
count = ((to - from - 1) / increment) + 1;