summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 05:14:34 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 05:15:05 -0400
commitceead2b5ab7183375d034cb900d0c2bbfe3d3c06 (patch)
tree73b442e1745e58e9cabda387323bedb5b7707255
parent4eaf48290f145bddf4262fdfbdcb212545e43be6 (diff)
re-route tubes if active fuel-fired gen is dug (and can be)
-rw-r--r--technic/machines/register/generator.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/technic/machines/register/generator.lua b/technic/machines/register/generator.lua
index 89ee5b2..7de08f3 100644
--- a/technic/machines/register/generator.lua
+++ b/technic/machines/register/generator.lua
@@ -182,6 +182,7 @@ function technic.register_generator(data)
tube = data.tube and tube or nil,
drop = "technic:"..ltier.."_generator",
can_dig = technic.machine_can_dig,
+ after_dig_node = technic.machine_after_dig_node,
allow_metadata_inventory_put = technic.machine_inventory_put,
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,