Change lighting rod activation time to 0.4

This commit is contained in:
AFCMS 2022-11-09 20:20:08 +01:00 committed by cora
parent 5f626cf1b0
commit 7dbe6489be

View file

@ -121,7 +121,7 @@ lightning.register_on_strike(function(pos, pos2, objects)
if node.name == "mcl_lightning_rods:rod" then if node.name == "mcl_lightning_rods:rod" then
minetest.set_node(lr, { name = "mcl_lightning_rods:rod_powered" }) minetest.set_node(lr, { name = "mcl_lightning_rods:rod_powered" })
mesecon.receptor_on(lr, mesecon.rules.alldirs) mesecon.receptor_on(lr, mesecon.rules.alldirs)
minetest.get_node_timer(lr):start(0.5) minetest.get_node_timer(lr):start(0.4)
end end
end end