fix pipes not becoming empty when pump is turned off
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 1 Jan 2014 18:56:13 +0000 (13:56 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Wed, 1 Jan 2014 18:56:13 +0000 (13:56 -0500)
pipes.lua

index 80b8780df908a187b3397c7a5b939319d90b26f4..ad79a3ed190f0241c2052745fa260bfea8e2bad4 100644 (file)
--- a/pipes.lua
+++ b/pipes.lua
@@ -118,7 +118,7 @@ for index, connects in ipairs(cconnects) do
        })
        
        table.insert(pipes_empty_nodenames, "pipeworks:pipe_"..index.."_empty")
-       table.insert(pipes_empty_nodenames, "pipeworks:pipe_"..index.."_loaded")
+       table.insert(pipes_full_nodenames,  "pipeworks:pipe_"..index.."_loaded")
 end