summaryrefslogtreecommitdiff
path: root/mesecons_solarpanel
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_solarpanel')
-rw-r--r--mesecons_solarpanel/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua
index bc5a408..cbf8878 100644
--- a/mesecons_solarpanel/init.lua
+++ b/mesecons_solarpanel/init.lua
@@ -25,7 +25,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
sounds = default.node_sound_glass_defaults(),
mesecons = {receptor = {
state = mesecon.state.on
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
-- Solar Panel
@@ -55,7 +56,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
sounds = default.node_sound_glass_defaults(),
mesecons = {receptor = {
state = mesecon.state.off
- }}
+ }},
+ on_blast = mesecon.on_blastnode,
})
minetest.register_craft({