summaryrefslogtreecommitdiff
path: root/pressure_logic/flowable_node_registry_install.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 /pressure_logic/flowable_node_registry_install.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 'pressure_logic/flowable_node_registry_install.lua')
-rw-r--r--pressure_logic/flowable_node_registry_install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pressure_logic/flowable_node_registry_install.lua b/pressure_logic/flowable_node_registry_install.lua
index 7f671a8..b561ca6 100644
--- a/pressure_logic/flowable_node_registry_install.lua
+++ b/pressure_logic/flowable_node_registry_install.lua
@@ -106,7 +106,7 @@ register.directional_horizonal_rotate = function(nodename, doubleended)
end
local directionfn = function(node, direction)
local result = false
- for index, endvec in ipairs(getends(node)) do
+ for _, endvec in ipairs(getends(node)) do
if vector.equals(direction, endvec) then result = true end
end
return result