diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2021-02-05 18:03:54 +0000 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2021-02-05 18:03:54 +0000 |
commit | f0ef43823cb198a3f426d7d1db88d42f5079fbbd (patch) | |
tree | 27f0ebea3b8ac8f36eea8fb58d38947fab81e31d /lua_tube.lua | |
parent | 2294a235826810864c1dbae7db644dfbc4722e6c (diff) | |
parent | 17a602a5a1d3b0362152222dc62c102c399ec4a4 (diff) | |
download | pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.gz pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.bz2 pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.xz pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.zip |
Merge branch 'm_unused_loop_vars' into 'master'
Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations
See merge request VanessaE/pipeworks!34
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 |