From 905260c8db2d7d4844e3955fa38a79da233b3ab7 Mon Sep 17 00:00:00 2001 From: DS Date: Sat, 7 Oct 2017 00:44:49 +0200 Subject: Handle blasts (#356) --- mesecons_insulated/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mesecons_insulated') diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua index 891b5d3..b494540 100644 --- a/mesecons_insulated/init.lua +++ b/mesecons_insulated/init.lua @@ -36,7 +36,8 @@ minetest.register_node("mesecons_insulated:insulated_on", { state = mesecon.state.on, offstate = "mesecons_insulated:insulated_off", rules = insulated_wire_get_rules - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_insulated:insulated_off", { @@ -67,7 +68,8 @@ minetest.register_node("mesecons_insulated:insulated_off", { state = mesecon.state.off, onstate = "mesecons_insulated:insulated_on", rules = insulated_wire_get_rules - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ -- cgit v1.2.3