summaryrefslogtreecommitdiff
path: root/mesecons_button
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_button')
-rw-r--r--mesecons_button/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index c67c149..89f0355 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -52,7 +52,8 @@ minetest.register_node("mesecons_button:button_off", {
mesecons = {receptor = {
state = mesecon.state.off,
rules = mesecon.rules.buttonlike_get
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_node("mesecons_button:button_on", {
@@ -92,6 +93,7 @@ minetest.register_node("mesecons_button:button_on", {
rules = mesecon.rules.buttonlike_get
}},
on_timer = mesecon.button_turnoff,
+ on_blast = mesecon.on_blastnode,
})
minetest.register_craft({