From 6a2fa5a3e49ce3612e857b39a0c12ea8420e6795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Wed, 1 Mar 2017 00:57:58 -0300 Subject: Rename global table to `digilines`. This also adds a backwards compat alias so other mods shouldn't break. --- lightsensor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lightsensor.lua') diff --git a/lightsensor.lua b/lightsensor.lua index 86a29c9..21f66f9 100644 --- a/lightsensor.lua +++ b/lightsensor.lua @@ -25,7 +25,7 @@ local on_digiline_receive = function (pos, node, channel, msg) local setchan = minetest.get_meta(pos):get_string("channel") if channel == setchan and msg == GET_COMMAND then local lightval = minetest.get_node_light(pos) - digiline:receptor_send(pos, digiline.rules.default, channel, lightval) + digilines:receptor_send(pos, digilines.rules.default, channel, lightval) end end -- cgit v1.2.3