summaryrefslogtreecommitdiff
path: root/mesecons_gates
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_gates')
-rw-r--r--mesecons_gates/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua
index 13e583b..3807d6f 100644
--- a/mesecons_gates/init.lua
+++ b/mesecons_gates/init.lua
@@ -74,7 +74,8 @@ local function register_gate(name, inputnumber, assess, recipe, description)
assess = assess,
onstate = basename.."_on",
offstate = basename.."_off",
- inputnumber = inputnumber
+ inputnumber = inputnumber,
+ after_dig_node = mesecon.do_cooldown,
},{
tiles = {"jeija_microcontroller_bottom.png^".."jeija_gate_off.png^"..
"jeija_gate_"..name..".png"},