mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-22 12:04:20 -05:00
made the shell look at libraries in _G.libs as well as just _G
This commit is contained in:
parent
200b99eb0c
commit
68130b80a6
@ -21,6 +21,8 @@ setmetatable(shenv,{__index=function(_,k)
|
||||
local fp = findPath(k)
|
||||
if _G[k] then
|
||||
return _G[k]
|
||||
elseif _G.libs[k] then
|
||||
return _G.libs[k]
|
||||
elseif fp then
|
||||
return function(...)
|
||||
local tA = {...}
|
||||
|
Loading…
Reference in New Issue
Block a user