mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 20:45:22 +01:00 
			
		
		
		
	Changed all the LIGHT_MAX calls to default.LIGHT_MAX
- Avoided crash by using the real variable instead of its old name
This commit is contained in:
		| @@ -31,7 +31,7 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on) | ||||
| 	tiles = {texture_on}, | ||||
| 	groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2}, | ||||
| 	drop = "mesecons_lightstone:lightstone_" .. name .. "_off", | ||||
| 	light_source = LIGHT_MAX-2, | ||||
| 	light_source = default.LIGHT_MAX-2, | ||||
| 	sounds = default.node_sound_stone_defaults(), | ||||
| 	mesecons = {effector = { | ||||
| 		rules = lightstone_rules, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user