diff options
Diffstat (limited to 'modules/mono/glue/cs_files/GD.cs')
-rw-r--r-- | modules/mono/glue/cs_files/GD.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/cs_files/GD.cs b/modules/mono/glue/cs_files/GD.cs index 5f9ca2c335..8a300fbbd4 100644 --- a/modules/mono/glue/cs_files/GD.cs +++ b/modules/mono/glue/cs_files/GD.cs @@ -127,9 +127,9 @@ namespace Godot int count; if (increment > 0) - count = (to - @from - 1) / increment + 1; + count = (to - from - 1) / increment + 1; else - count = (@from - to - 1) / -increment + 1; + count = (from - to - 1) / -increment + 1; var ret = new int[count]; |