mirror of
https://github.com/LDDestroier/CC/
synced 2025-07-15 08:23:01 +00:00
Update tron.lua
This commit is contained in:
parent
2bd56706e4
commit
869a8b29d3
2
tron.lua
2
tron.lua
@ -250,6 +250,7 @@ if argumentName then
|
|||||||
end
|
end
|
||||||
|
|
||||||
local modem, skynet
|
local modem, skynet
|
||||||
|
if not doGridDemo then
|
||||||
if useSkynet then
|
if useSkynet then
|
||||||
if fs.exists(skynetPath) then
|
if fs.exists(skynetPath) then
|
||||||
skynet = dofile(skynetPath)
|
skynet = dofile(skynetPath)
|
||||||
@ -278,6 +279,7 @@ else
|
|||||||
error("You should attach a modem.")
|
error("You should attach a modem.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local transmit = function(port, message)
|
local transmit = function(port, message)
|
||||||
if useSkynet then
|
if useSkynet then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user