summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons_button/init.lua1
-rw-r--r--mesecons_walllever/init.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua
index bda118f..1ef6680 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -41,6 +41,7 @@ minetest.register_node("mesecons_button:button_on", {
paramtype2 = "facedir",
legacy_wallmounted = true,
walkable = false,
+ light_source = LIGHT_MAX-9,
selection_box = {
type = "fixed",
fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 }
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 7dd8828..e315126 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -43,6 +43,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
+ light_source = LIGHT_MAX-9,
selection_box = {
type = "fixed",
fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 },