mirror of
https://github.com/minetest-mods/digilines.git
synced 2025-06-30 07:20:29 +02:00
Rename global table to digilines
.
This also adds a backwards compat alias so other mods shouldn't break.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user