summaryrefslogtreecommitdiff
path: root/lightsensor.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-01 00:57:58 -0300
committerAuke Kok <sofar+github@foo-projects.org>2017-03-14 21:57:01 -0700
commit6a2fa5a3e49ce3612e857b39a0c12ea8420e6795 (patch)
treec04c946337ed51277802836af2e3fa80868bc483 /lightsensor.lua
parent54b1b3fe91f2e7e774f305d4b57bb4367aca1cd6 (diff)
Rename global table to `digilines`.
This also adds a backwards compat alias so other mods shouldn't break.
Diffstat (limited to 'lightsensor.lua')
-rw-r--r--lightsensor.lua2
1 files changed, 1 insertions, 1 deletions
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