1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-12-24 19:59:20 -05:00

made the shell not return pcall's true if it is true

This commit is contained in:
XeonSquared 2019-07-28 19:52:32 +10:00
parent 7347c93988
commit be8ba0a40b

View File

@ -35,6 +35,9 @@ setmetatable(shenv,{__index=function(_,k)
tE = {coroutine.yield()}
if tE[1] == rqid then
table.remove(tE,1)
if tE[1] == true then
table.remove(tE,1)
end
return table.unpack(tE)
end
until tTasks[pid] == nil