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_torch | |
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_torch')
-rw-r--r-- | mesecons_torch/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index 99701a8..867c909 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -80,7 +80,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", { paramtype2 = "wallmounted", selection_box = torch_selectionbox, groups = {dig_immediate=3}, - light_source = default.LIGHT_MAX-5, + light_source = minetest.LIGHT_MAX-5, description="Mesecon Torch", sounds = default.node_sound_defaults(), mesecons = {receptor = { |