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, 2 insertions, 0 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index 017f26c..dd8819d 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -13,6 +13,7 @@ minetest.register_node("mesecons_button:button_off", {
paramtype2 = "facedir",
legacy_wallmounted = true,
walkable = false,
+ sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 }
@@ -42,6 +43,7 @@ minetest.register_node("mesecons_button:button_on", {
legacy_wallmounted = true,
walkable = false,
light_source = LIGHT_MAX-7,
+ sunlight_propagates = true,
selection_box = {
type = "fixed",
fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 }