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 /pressure_logic/flowable_node_registry_install.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 'pressure_logic/flowable_node_registry_install.lua')
-rw-r--r-- | pressure_logic/flowable_node_registry_install.lua | 2 |
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 |