Fixed a bug with mese tubes not correctly distributing the items.

This commit is contained in:
Novatux 2013-01-23 18:55:41 +01:00
parent 7b793fe5bd
commit 4da23ce736

View File

@ -283,7 +283,6 @@ register_tube("pipeworks:mese_tube","Mese pneumatic tube segment",mese_plain_tex
if st:get_name()==name then if st:get_name()==name then
found=true found=true
table.insert(tbl,vect) table.insert(tbl,vect)
break
end end
end end
end end
@ -293,7 +292,6 @@ register_tube("pipeworks:mese_tube","Mese pneumatic tube segment",mese_plain_tex
if meta:get_int("l"..tostring(i).."s")==1 then if meta:get_int("l"..tostring(i).."s")==1 then
if inv:is_empty("line"..tostring(i)) then if inv:is_empty("line"..tostring(i)) then
table.insert(tbl,vect) table.insert(tbl,vect)
break
end end
end end
end end