forked from minetest-mods/mesecons
		
	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:
		| @@ -73,7 +73,7 @@ minetest.register_node("mesecons_button:button_on", { | ||||
| 	legacy_wallmounted = true, | ||||
| 	walkable = false, | ||||
| 	on_rotate = false, | ||||
| 	light_source = default.LIGHT_MAX-7, | ||||
| 	light_source = minetest.LIGHT_MAX-7, | ||||
| 	sunlight_propagates = true, | ||||
| 	selection_box = { | ||||
| 		type = "fixed", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user