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:
parent
9ee9c530c2
commit
f87b818877
4
tron.lua
4
tron.lua
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user