1
0
spogulis no https://github.com/minetest-mods/mesecons.git synced 2025-10-28 18:15:19 +01:00

Replace usage of default.LIGHT_MAX with minetest.LIGHT_MAX

It was moved a long time ago and the former is not guaranteed to be available.
fixes #424
Šī revīzija ir iekļauta:
sfan5
2018-07-24 21:28:38 +02:00
vecāks d4e05f33af
revīzija 444cd0f2f1
4 mainīti faili ar 4 papildinājumiem un 4 dzēšanām

Parādīt failu

@@ -30,7 +30,7 @@ minetest.register_node("mesecons:mesecon_on", {
},
groups = {dig_immediate=3, not_in_creaive_inventory=1, mesecon=1},
drop = "mesecons:mesecon_off 1",
light_source = default.LIGHT_MAX-11,
light_source = minetest.LIGHT_MAX-11,
mesecons = {conductor={
state = mesecon.state.on,
offstate = "mesecons:mesecon_off"