Slightly lower required light level to allow things like meselamps to affect solar panels, instead of only sunlight.

This commit is contained in:
Anthony Zhang 2012-03-02 23:03:47 -05:00
parent f3f29ad16b
commit deb4f4d613

View File

@ -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)