line 215: changed < to <= so that it is identical throughout the code

This commit is contained in:
chmodsayshello 2022-01-22 09:11:12 +00:00
parent 0b6210196d
commit 04ff87b107
1 changed files with 1 additions and 1 deletions

View File

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