mirror of
https://github.com/minetest-mods/digilines.git
synced 2025-06-30 15:30:22 +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:
2
rtc.lua
2
rtc.lua
@ -20,7 +20,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 timeofday = minetest.get_timeofday()
|
||||
digiline:receptor_send(pos, digiline.rules.default, channel, timeofday)
|
||||
digilines:receptor_send(pos, digilines.rules.default, channel, timeofday)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user