summaryrefslogtreecommitdiff
path: root/mesecons_torch
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_torch')
-rw-r--r--mesecons_torch/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua
index 8b1632b..de16224 100644
--- a/mesecons_torch/init.lua
+++ b/mesecons_torch/init.lua
@@ -62,7 +62,8 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
mesecons = {receptor = {
state = mesecon.state.off,
rules = torch_get_output_rules
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_node("mesecons_torch:mesecon_torch_on", {
@@ -82,6 +83,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
state = mesecon.state.on,
rules = torch_get_output_rules
}},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_abm({