V16.0.1 #68

Merged
rayaman merged 2 commits from v16.0.1 into master 2024-03-24 23:29:43 -04:00
Showing only changes of commit d4562f0228 - Show all commits

View File

@ -447,6 +447,7 @@ function multi:newConnection(protect,func,kill)
func = function(...)
__CurrentConnectionThread = th
fref(...)
__CurrentConnectionThread = nil
end
end
table.insert(fast, func)
@ -1435,7 +1436,7 @@ local function cleanReturns(...)
end
function thread.pushStatus(...)
local t = thread.getRunningThread() or __CurrentConnectionThread
local t = __CurrentConnectionThread or thread.getRunningThread()
t.statusconnector:Fire(...)
end