mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02: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
This commit is contained in:
@ -80,7 +80,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", {
|
||||
paramtype2 = "wallmounted",
|
||||
selection_box = torch_selectionbox,
|
||||
groups = {dig_immediate=3},
|
||||
light_source = default.LIGHT_MAX-5,
|
||||
light_source = minetest.LIGHT_MAX-5,
|
||||
description="Mesecon Torch",
|
||||
sounds = default.node_sound_defaults(),
|
||||
mesecons = {receptor = {
|
||||
|
Reference in New Issue
Block a user