mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-12-24 17:50:20 +01:00
parent
a5e2f05d92
commit
c7f4185e92
@ -86,6 +86,12 @@ local function queue_dequeue(queue)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function digilines.transmit(pos, channel, msg, checked)
|
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()
|
digilines.vm_begin()
|
||||||
local queue = queue_new()
|
local queue = queue_new()
|
||||||
queue_enqueue(queue, pos)
|
queue_enqueue(queue, pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user