Thread system added

This commit is contained in:
Cooldude2606
2017-12-08 17:52:24 +00:00
parent 89fff7eba9
commit c0b87ec904
4 changed files with 87 additions and 39 deletions

View File

@@ -25,11 +25,11 @@ StdLib.Game = require '/game'
StdLib.Event = require '/event'
return function(rtn)
local to_return = {}
local _return = {}
for _,name in pairs(rtn) do
if StdLib[name] then
table.insert(to_return,StdLib[name])
table.insert(_return,StdLib[name])
end
end
return unpack(to_return)
return unpack(_return)
end