mirror of
https://github.com/LDDestroier/CC/
synced 2025-11-07 10:53:00 +00:00
Added websocket check for skynet
This commit is contained in:
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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user