12 lines
187 B
Lua
12 lines
187 B
Lua
while #tT > 0 do
|
|
ev={computer.pullSignal(p)}
|
|
for k,v in ipairs(tT) do
|
|
_G.cT=k
|
|
if C.status(v[2])~="dead" then
|
|
C.resume(v[2],table.unpack(ev))
|
|
else
|
|
tT[k] = nil
|
|
end
|
|
end
|
|
end
|