summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/tjunction.lua
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-10-07 00:44:49 +0200
committerVitaliy <silverunicorn2011@yandex.ru>2017-10-07 01:44:49 +0300
commit905260c8db2d7d4844e3955fa38a79da233b3ab7 (patch)
tree046f23d139d256acb59efaedc3c99b2cf5b9cb4d /mesecons_extrawires/tjunction.lua
parent8999597df2d4d5b5aa2011eb9880dfc758201a5a (diff)
downloadmesecons-905260c8db2d7d4844e3955fa38a79da233b3ab7.tar
mesecons-905260c8db2d7d4844e3955fa38a79da233b3ab7.tar.gz
mesecons-905260c8db2d7d4844e3955fa38a79da233b3ab7.tar.bz2
mesecons-905260c8db2d7d4844e3955fa38a79da233b3ab7.tar.xz
mesecons-905260c8db2d7d4844e3955fa38a79da233b3ab7.zip
Handle blasts (#356)
Diffstat (limited to 'mesecons_extrawires/tjunction.lua')
-rw-r--r--mesecons_extrawires/tjunction.lua6
1 files changed, 4 insertions, 2 deletions
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({