Fix wireless receptors not triggering in unloaded map blocks

This commit is contained in:
bri cassa 2021-04-06 23:56:34 +02:00
parent a9febb7572
commit b9d8cb03f2

View File

@ -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