summaryrefslogtreecommitdiff
path: root/mesecons_lamp
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_lamp')
-rw-r--r--mesecons_lamp/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua
index 6f38b27..15c89ff 100644
--- a/mesecons_lamp/init.lua
+++ b/mesecons_lamp/init.lua
@@ -27,7 +27,8 @@ minetest.register_node("mesecons_lamp:lamp_on", {
action_off = function (pos, node)
minetest.swap_node(pos, {name = "mesecons_lamp:lamp_off", param2 = node.param2})
end
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_node("mesecons_lamp:lamp_off", {
@@ -48,7 +49,8 @@ minetest.register_node("mesecons_lamp:lamp_off", {
action_on = function (pos, node)
minetest.swap_node(pos, {name = "mesecons_lamp:lamp_on", param2 = node.param2})
end
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_craft({