diff options
author | sfan5 <sfan5@live.de> | 2018-07-24 21:28:38 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-07-24 21:30:04 +0200 |
commit | 444cd0f2f1f4a599dad0a0694df6be4e37baa382 (patch) | |
tree | 244f4cee3c1f455c68ec9b25286f358f7cce73df /mesecons_button | |
parent | d4e05f33afc9a369fbbcdb49aea10cd860a7a680 (diff) |
Replace usage of default.LIGHT_MAX with minetest.LIGHT_MAX
It was moved a long time ago and the former is not guaranteed to be available.
fixes #424
Diffstat (limited to 'mesecons_button')
-rw-r--r-- | mesecons_button/init.lua | 2 |
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", |