summaryrefslogtreecommitdiff
path: root/jeija
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-03-02 23:03:47 -0500
committerAnthony Zhang <azhang9@gmail.com>2012-03-02 23:03:47 -0500
commitdeb4f4d613ae25d20be35d856ae8da419f31553f (patch)
treedc32f8c1c094dce61e8b02a73532b8c239990d70 /jeija
parentf3f29ad16ba3c91e60383805fe7ad31555e488c1 (diff)
downloadmesecons-deb4f4d613ae25d20be35d856ae8da419f31553f.tar
mesecons-deb4f4d613ae25d20be35d856ae8da419f31553f.tar.gz
mesecons-deb4f4d613ae25d20be35d856ae8da419f31553f.tar.bz2
mesecons-deb4f4d613ae25d20be35d856ae8da419f31553f.tar.xz
mesecons-deb4f4d613ae25d20be35d856ae8da419f31553f.zip
Slightly lower required light level to allow things like meselamps to affect solar panels, instead of only sunlight.
Diffstat (limited to 'jeija')
-rw-r--r--jeija/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/jeija/init.lua b/jeija/init.lua
index 9da01b5..81311b7 100644
--- a/jeija/init.lua
+++ b/jeija/init.lua
@@ -700,7 +700,7 @@ minetest.register_abm(
action = function(pos, node, active_object_count, active_object_count_wider)
local light = minetest.env:get_node_light(pos, nil)
if light == nil then light = 0 end
- if light >= 13 then
+ if light >= 12 then
mesecon:receptor_on(pos)
else
mesecon:receptor_off(pos)