forked from mtcontrib/pipeworks
Indent correctly the function
This commit is contained in:
parent
b0c50203d2
commit
95aac90b67
@ -136,8 +136,7 @@ local register_one_tube = function(name, tname, dropname, desc, plain, noctrs, e
|
||||
end
|
||||
|
||||
pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv, special, old_registration)
|
||||
|
||||
if old_registration then
|
||||
if old_registration then
|
||||
for xm = 0, 1 do
|
||||
for xp = 0, 1 do
|
||||
for ym = 0, 1 do
|
||||
@ -171,7 +170,7 @@ if old_registration then
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
else
|
||||
local cconnects = {{}, {0}, {0, 3}, {0, 1}, {0, 1, 2}, {0, 1, 3}, {0, 1, 2, 3}, {0, 1, 3, 4}, {0, 1, 2, 3, 4}, {0, 1, 2, 3, 4, 5}}
|
||||
for index, connects in ipairs(cconnects) do
|
||||
register_one_tube(name, tostring(index), "1", desc, plain, noctrs, ends, short, inv, special, connects, "6d")
|
||||
@ -200,7 +199,7 @@ else
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if REGISTER_COMPATIBILITY then
|
||||
|
Loading…
Reference in New Issue
Block a user