mirror of https://github.com/LDDestroier/CC/
Added websocket check for skynet
This commit is contained in:
parent
9ee9c530c2
commit
f87b818877
4
tron.lua
4
tron.lua
|
@ -316,6 +316,10 @@ if gridList[argList["--gridID"]] then
|
||||||
end
|
end
|
||||||
local argumentName = argList[1]
|
local argumentName = argList[1]
|
||||||
|
|
||||||
|
if useSkynet and (not http.websocket) then
|
||||||
|
error("Skynet is not supported on this version of ComputerCraft.")
|
||||||
|
end
|
||||||
|
|
||||||
local skynetPath = "skynet"
|
local skynetPath = "skynet"
|
||||||
local skynetURL = "https://raw.githubusercontent.com/osmarks/skynet/master/client.lua"
|
local skynetURL = "https://raw.githubusercontent.com/osmarks/skynet/master/client.lua"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue