forked from Mineclonia/Mineclonia
line 215: changed < to <= so that it is identical throughout the code
This commit is contained in:
parent
0b6210196d
commit
04ff87b107
|
@ -212,7 +212,7 @@ minetest.register_abm({
|
|||
local light = minetest.get_node_light(pos, nil)
|
||||
local time = minetest.get_timeofday()*24000
|
||||
|
||||
if light < minetest.LIGHT_MAX and time > 18000 then
|
||||
if light <= minetest.LIGHT_MAX and time > 18000 then
|
||||
minetest.set_node(pos, {name="mesecons_solarpanel:solar_panel_inverted_on", param2=node.param2})
|
||||
mesecon.receptor_on(pos, mesecon.rules.pplate)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue