mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-04 18:23:45 +01:00
parent
a5e2f05d92
commit
c7f4185e92
@ -86,6 +86,12 @@ local function queue_dequeue(queue)
|
||||
end
|
||||
|
||||
function digilines.transmit(pos, channel, msg, checked)
|
||||
local checkedID = minetest.hash_node_position(pos)
|
||||
if checked[checkedID] then
|
||||
return
|
||||
end
|
||||
checked[checkedID] = true
|
||||
|
||||
digilines.vm_begin()
|
||||
local queue = queue_new()
|
||||
queue_enqueue(queue, pos)
|
||||
|
Loading…
Reference in New Issue
Block a user