summaryrefslogtreecommitdiff
path: root/mesecons_torch
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2018-07-24 21:28:38 +0200
committersfan5 <sfan5@live.de>2018-07-24 21:30:04 +0200
commit444cd0f2f1f4a599dad0a0694df6be4e37baa382 (patch)
tree244f4cee3c1f455c68ec9b25286f358f7cce73df /mesecons_torch
parentd4e05f33afc9a369fbbcdb49aea10cd860a7a680 (diff)
downloadmesecons-444cd0f2f1f4a599dad0a0694df6be4e37baa382.tar
mesecons-444cd0f2f1f4a599dad0a0694df6be4e37baa382.tar.gz
mesecons-444cd0f2f1f4a599dad0a0694df6be4e37baa382.tar.bz2
mesecons-444cd0f2f1f4a599dad0a0694df6be4e37baa382.tar.xz
mesecons-444cd0f2f1f4a599dad0a0694df6be4e37baa382.zip
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.lua2
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 = {