From 444cd0f2f1f4a599dad0a0694df6be4e37baa382 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 24 Jul 2018 21:28:38 +0200 Subject: 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 --- mesecons/oldwires.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons') diff --git a/mesecons/oldwires.lua b/mesecons/oldwires.lua index 43bf302..8d6c6b1 100644 --- a/mesecons/oldwires.lua +++ b/mesecons/oldwires.lua @@ -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" -- cgit v1.2.3