V16.1.0 #69
3
init.lua
3
init.lua
@ -447,6 +447,7 @@ function multi:newConnection(protect,func,kill)
|
|||||||
func = function(...)
|
func = function(...)
|
||||||
__CurrentConnectionThread = th
|
__CurrentConnectionThread = th
|
||||||
fref(...)
|
fref(...)
|
||||||
|
__CurrentConnectionThread = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
table.insert(fast, func)
|
table.insert(fast, func)
|
||||||
@ -1435,7 +1436,7 @@ local function cleanReturns(...)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function thread.pushStatus(...)
|
function thread.pushStatus(...)
|
||||||
local t = thread.getRunningThread() or __CurrentConnectionThread
|
local t = __CurrentConnectionThread or thread.getRunningThread()
|
||||||
t.statusconnector:Fire(...)
|
t.statusconnector:Fire(...)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user