diff options
author | HybridDog <ovvv@web.de> | 2021-02-05 17:17:50 +0100 |
---|---|---|
committer | HybridDog <ovvv@web.de> | 2021-02-05 17:17:50 +0100 |
commit | 17a602a5a1d3b0362152222dc62c102c399ec4a4 (patch) | |
tree | 27f0ebea3b8ac8f36eea8fb58d38947fab81e31d /lua_tube.lua | |
parent | 2294a235826810864c1dbae7db644dfbc4722e6c (diff) | |
download | pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.gz pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.bz2 pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.xz pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.zip |
Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations
Diffstat (limited to 'lua_tube.lua')
-rw-r--r-- | lua_tube.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |