summaryrefslogtreecommitdiff
path: root/autoplace_tubes.lua
diff options
context:
space:
mode:
authorHybridDog <ovvv@web.de>2021-02-05 17:17:50 +0100
committerHybridDog <ovvv@web.de>2021-02-05 17:17:50 +0100
commit17a602a5a1d3b0362152222dc62c102c399ec4a4 (patch)
tree27f0ebea3b8ac8f36eea8fb58d38947fab81e31d /autoplace_tubes.lua
parent2294a235826810864c1dbae7db644dfbc4722e6c (diff)
downloadpipeworks-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 'autoplace_tubes.lua')
-rw-r--r--autoplace_tubes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua
index 51ee383..8348430 100644
--- a/autoplace_tubes.lua
+++ b/autoplace_tubes.lua
@@ -81,7 +81,7 @@ local function tube_autoroute(pos)
local basename = nodedef.basename
if nodedef.style == "old" then
local nsurround = ""
- for i, n in ipairs(active) do
+ for _, n in ipairs(active) do
nsurround = nsurround..n
end
nctr.name = basename.."_"..nsurround