From f87b818877a702485336a300cf866cdf6ed49ad1 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Fri, 29 Mar 2019 14:18:02 -0400 Subject: [PATCH] Added websocket check for skynet --- tron.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tron.lua b/tron.lua index 416ee30..7c6ff44 100644 --- a/tron.lua +++ b/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"