mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	Slightly lower required light level to allow things like meselamps to affect solar panels, instead of only sunlight.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user