summaryrefslogtreecommitdiff
path: root/mesecons_button
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_button')
-rw-r--r--mesecons_button/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index dd8819d..25251c6 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -28,6 +28,7 @@ minetest.register_node("mesecons_button:button_off", {
groups = {dig_immediate=2, mesecon = 3, mesecon_needs_receiver = 1},
description = "Button",
})
+
minetest.register_node("mesecons_button:button_on", {
drawtype = "nodebox",
tiles = {
@@ -108,4 +109,3 @@ mesecon:add_rules("button", {
mesecon:add_receptor_node_off("mesecons_button:button_off", nil, mesecon.button_get_rules)
mesecon:add_receptor_node("mesecons_button:button_on", nil, mesecon.button_get_rules)
-