Added connection:hasConnections()

This commit is contained in:
Ryan Ward 2022-02-14 18:00:02 -05:00
parent 48bba84c08
commit 72e24e8a9b

View File

@ -242,6 +242,9 @@ function multi:newConnection(protect,func,kill)
local protect=protect or false
local connections={}
c.FC=0
function c:hasConnections()
return #call_funcs~=0
end
function c:holdUT(n)
local n=n or 0
self.waiting=true