1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-01-19 05:32:51 +00:00

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

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"