Update brednet.lua

This commit is contained in:
LDDestroier 2020-02-13 00:36:44 -05:00 committed by GitHub
parent b9f9a9fc7c
commit f1f7581729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
local brednet = {}
ccemux.attach("top", "wireless_modem")
if ccemux and not peripheral.find("modem") then
ccemux.attach("top", "wireless_modem")
end
-- stores the last 1000 received messages
local USED = {}