1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-11-05 01:26:20 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)