Indent correctly the function

This commit is contained in:
Novatux 2013-12-31 09:08:18 +01:00
parent b0c50203d2
commit 95aac90b67

View File

@ -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