1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-02-07 14:40:03 +00:00

Update tron.lua

This commit is contained in:
LDDestroier 2019-02-28 23:49:50 -05:00 committed by GitHub
parent 2bd56706e4
commit 869a8b29d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,8 @@ if argumentName then
end
local modem, skynet
if useSkynet then
if not doGridDemo then
if useSkynet then
if fs.exists(skynetPath) then
skynet = dofile(skynetPath)
skynet.open(port)
@ -266,7 +267,7 @@ if useSkynet then
error("Could not download Skynet.")
end
end
else
else
modem = peripheral.find("modem")
if (not modem) and ccemux then
ccemux.attach("top", "wireless_modem")
@ -277,6 +278,7 @@ else
else
error("You should attach a modem.")
end
end
end
local transmit = function(port, message)