summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/register/battery_box.lua2
-rw-r--r--technic/machines/register/generator.lua2
-rw-r--r--technic/machines/register/machine_base.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/technic/machines/register/battery_box.lua b/technic/machines/register/battery_box.lua
index 412f5ba..263b647 100644
--- a/technic/machines/register/battery_box.lua
+++ b/technic/machines/register/battery_box.lua
@@ -195,7 +195,7 @@ function technic.register_battery_box(data)
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
technic_run = run,
- after_place_node = tube and pipeworks.after_place,
+ after_place_node = data.tube and pipeworks.after_place,
after_dig_node = technic.machine_after_dig_node
})
end
diff --git a/technic/machines/register/generator.lua b/technic/machines/register/generator.lua
index aa367ca..300b852 100644
--- a/technic/machines/register/generator.lua
+++ b/technic/machines/register/generator.lua
@@ -109,7 +109,7 @@ function technic.register_generator(data)
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
technic_run = run,
- after_place_node = tube and pipeworks.after_place,
+ after_place_node = data.tube and pipeworks.after_place,
after_dig_node = technic.machine_after_dig_node
})
diff --git a/technic/machines/register/machine_base.lua b/technic/machines/register/machine_base.lua
index 0f47c22..8492643 100644
--- a/technic/machines/register/machine_base.lua
+++ b/technic/machines/register/machine_base.lua
@@ -153,7 +153,7 @@ function technic.register_base_machine(data)
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
technic_run = run,
- after_place_node = tube and pipeworks.after_place,
+ after_place_node = data.tube and pipeworks.after_place,
after_dig_node = technic.machine_after_dig_node
})