Fixed a bug with mese tubes not correctly distributing the items.
authorNovatux <nathanael.courant@laposte.net>
Wed, 23 Jan 2013 17:55:41 +0000 (18:55 +0100)
committerNovatux <nathanael.courant@laposte.net>
Wed, 23 Jan 2013 17:55:41 +0000 (18:55 +0100)
tubes.lua

index e0169a1656970a6380897b82c381123655d9dba8..f5f68ef6e93f0ab8744d627733a48c23f96984f5 100644 (file)
--- a/tubes.lua
+++ b/tubes.lua
@@ -283,7 +283,6 @@ register_tube("pipeworks:mese_tube","Mese pneumatic tube segment",mese_plain_tex
                                        if st:get_name()==name then
                                                found=true
                                                table.insert(tbl,vect)
-                                               break
                                        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 inv:is_empty("line"..tostring(i)) then
                                                table.insert(tbl,vect)
-                                               break
                                        end
                                end
                        end