From 17a602a5a1d3b0362152222dc62c102c399ec4a4 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Fri, 5 Feb 2021 17:17:50 +0100 Subject: Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations --- lua_tube.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua_tube.lua') diff --git a/lua_tube.lua b/lua_tube.lua index 543c388..59288cd 100644 --- a/lua_tube.lua +++ b/lua_tube.lua @@ -969,7 +969,7 @@ for white = 0, 1 do can_go = function(pos, node, velocity, stack) local src = {name = nil} -- add color of the incoming tube explicitly; referring to rules, in case they change later - for color, rule in pairs(rules) do + for _, rule in pairs(rules) do if (-velocity.x == rule.x and -velocity.y == rule.y and -velocity.z == rule.z) then src.name = rule.name break -- cgit v1.2.3