summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 39ec8c0..1a2d23b 100644
--- a/init.lua
+++ b/init.lua
@@ -23,7 +23,7 @@ local tjunction_get_rules = function (node)
{x = 1, y = 0, z = 0},
{x = 0, y = 0, z = -1}}
- for i = 0, node.param2%32 do
+ for _=0,node.param2%32 do
rules = mesecon.rotate_rules_left(rules)
end
@@ -35,7 +35,7 @@ local corner_get_rules = function (node)
{{x = 1, y = 0, z = 0},
{x = 0, y = 0, z = -1}}
- for i = 0, node.param2%32 do
+ for _=0,node.param2%32 do
rules = mesecon.rotate_rules_left(rules)
end