Skip to content
Snippets Groups Projects
  • paramat's avatar
    3aefa5d3
    Register.lua: Throw error if node 'light_source' > core.LIGHT_MAX · 3aefa5d3
    paramat authored
    Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention
    to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game.
    Add comment in light.h requiring the constant be changed in both places.
    Add lighting bug warning to note in lua_api.txt.
    There are hundreds of mod uses of 15 which causes a lighting bug.
    3aefa5d3
    History
    Register.lua: Throw error if node 'light_source' > core.LIGHT_MAX
    paramat authored
    Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention
    to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game.
    Add comment in light.h requiring the constant be changed in both places.
    Add lighting bug warning to note in lua_api.txt.
    There are hundreds of mod uses of 15 which causes a lighting bug.