mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 14:50:41 +02:00
Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user