Rename global table to digilines.

This also adds a backwards compat alias so other mods
shouldn't break.
This commit is contained in:
Diego Martínez
2017-03-01 00:57:58 -03:00
committed by Auke Kok
parent 54b1b3fe91
commit 6a2fa5a3e4
8 changed files with 63 additions and 59 deletions

View File

@ -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