forked from minetest-mods/MoreMesecons
Fix wireless receptors not triggering in unloaded map blocks
This commit is contained in:
parent
a9febb7572
commit
b9d8cb03f2
@ -277,7 +277,7 @@ local function on_digiline_receive(pos, node, channel, msg)
|
|||||||
|
|
||||||
sending_digilines[pos_hash] = true
|
sending_digilines[pos_hash] = true
|
||||||
for i, wl_pos in pairs(wireless[wls.owner][wls.channel].members) do
|
for i, wl_pos in pairs(wireless[wls.owner][wls.channel].members) do
|
||||||
if i ~= wls.id and check_wireless_exists(wl_pos) then
|
if i ~= wls.id then -- and check_wireless_exists(wl_pos) then
|
||||||
digiline:receptor_send(wl_pos, digiline.rules.default, channel, msg)
|
digiline:receptor_send(wl_pos, digiline.rules.default, channel, msg)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user