summaryrefslogtreecommitdiff
path: root/mesecons_lightstone
diff options
context:
space:
mode:
authorFlorian Euchner <norrepli@gmail.com>2015-05-11 07:08:24 +0200
committerFlorian Euchner <norrepli@gmail.com>2015-05-11 07:08:24 +0200
commit3066346d7552d3b7603d0392548b57d6fee8ee99 (patch)
treef11e886a78eef4cdfe4d81faac2499894df6268a /mesecons_lightstone
parentb6ae419b009a2b547ec3ec40f76e4108194a2335 (diff)
parent52ea2c3c66764da4edeadb3c9bbbe85435aae47e (diff)
downloadmesecons-3066346d7552d3b7603d0392548b57d6fee8ee99.tar
mesecons-3066346d7552d3b7603d0392548b57d6fee8ee99.tar.gz
mesecons-3066346d7552d3b7603d0392548b57d6fee8ee99.tar.bz2
mesecons-3066346d7552d3b7603d0392548b57d6fee8ee99.tar.xz
mesecons-3066346d7552d3b7603d0392548b57d6fee8ee99.zip
Merge pull request #233 from technomancy/default-light-max
Don't refer to LIGHT_MAX global; use default.
Diffstat (limited to 'mesecons_lightstone')
-rw-r--r--mesecons_lightstone/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua
index db34249..da7cc41 100644
--- a/mesecons_lightstone/init.lua
+++ b/mesecons_lightstone/init.lua
@@ -31,7 +31,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on)
tiles = {texture_on},
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
drop = "mesecons_lightstone:lightstone_" .. name .. "_off",
- light_source = LIGHT_MAX-2,
+ light_source = default.LIGHT_MAX-2,
sounds = default.node_sound_stone_defaults(),
mesecons = {effector = {
rules = lightstone_rules,