mirror of
https://github.com/LDDestroier/CC/
synced 2024-11-05 01:26:20 +00:00
Update netrequire.lua
This commit is contained in:
parent
5d6f155499
commit
a732d7bdaf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user