1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-10-25 04:27:40 +00:00

Update netrequire.lua

This commit is contained in:
LDDestroier
2019-11-03 14:44:51 -05:00
committed by GitHub
parent 5d6f155499
commit a732d7bdaf

View File

@@ -19,10 +19,11 @@ local function netrequire(_name, alwaysDownload, ...)
else
local url = "https://github.com/LDDestroier/CC/raw/master/netrequire/" .. name
local net = http.get(url)
local description
local description, creator
if net then
url = net.readLine()
local useLoadAPI = net.readLine():sub(1, 4) == "true"
creator = net.readLine()
description = net.readAll()
net.close()
net = http.get(url)