summaryrefslogtreecommitdiff
path: root/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'nodes')
-rw-r--r--nodes/node_controllers.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/nodes/node_controllers.lua b/nodes/node_controllers.lua
index 4382734..e066f18 100644
--- a/nodes/node_controllers.lua
+++ b/nodes/node_controllers.lua
@@ -172,7 +172,8 @@ minetest.register_node("digtron:auto_controller", {
description = S("Digtron Automatic Control Module"),
_doc_items_longdesc = digtron.doc.auto_controller_longdesc,
_doc_items_usagehelp = digtron.doc.auto_controller_usagehelp,
- _digtron_formspec = auto_formspec,
+ --Don't set a _digtron_formspec for this node_def.
+ --Auto-controller has special formspec handling, while active it has no formspec and right-clicking interrupts it.
groups = {cracky = 3, oddly_breakable_by_hand = 3, digtron = 1},
drop = "digtron:auto_controller",
sounds = digtron.metal_sounds,