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 104fc5b..8764fbc 100644
--- a/mesecons_button/init.lua
+++ b/mesecons_button/init.lua
@@ -73,7 +73,7 @@ minetest.register_node("mesecons_button:button_on", {
legacy_wallmounted = true,
walkable = false,
on_rotate = false,
- light_source = default.LIGHT_MAX-7,
+ light_source = minetest.LIGHT_MAX-7,
sunlight_propagates = true,
selection_box = {
type = "fixed",