Added websocket check for skynet

This commit is contained in:
LDDestroier 2019-03-29 14:18:02 -04:00 committed by GitHub
parent 9ee9c530c2
commit f87b818877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -316,6 +316,10 @@ if gridList[argList["--gridID"]] then
end
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 skynetURL = "https://raw.githubusercontent.com/osmarks/skynet/master/client.lua"