mirror of
https://github.com/rayaman/multi.git
synced 2026-09-04 23:17:35 -04:00
V16.0.1 (#68)
* Fixed issue with pushstatus * Fixed bug with pushstatus
This commit is contained in:
@@ -86,7 +86,7 @@ function multi.getTypes()
|
||||
return types
|
||||
end
|
||||
|
||||
multi.Version = "16.0.0"
|
||||
multi.Version = "16.0.1"
|
||||
multi.Name = "root"
|
||||
multi.NIL = {Type="NIL"}
|
||||
local NIL = multi.NIL
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user