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_extrawires/tjunction.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mesecons_extrawires/tjunction.lua') diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 70f343b..1bfc48a 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -45,7 +45,8 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { state = mesecon.state.on, rules = tjunction_get_rules, offstate = "mesecons_extrawires:tjunction_off" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:tjunction_off", { @@ -71,7 +72,8 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { state = mesecon.state.off, rules = tjunction_get_rules, onstate = "mesecons_extrawires:tjunction_on" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ -- cgit v1.2.3