Fixed a bug in the trigger module
It would return 2 self references upon connection instead of 1
This commit is contained in:
parent
38b6ba7535
commit
86db39ae7f
@ -4,7 +4,7 @@ function multi:newTrigger(func)
|
||||
c.Type='trigger'
|
||||
c.trigfunc=func or function() end
|
||||
function c:Fire(...)
|
||||
self:trigfunc(self,...)
|
||||
self:trigfunc(...)
|
||||
end
|
||||
function c:tofile(path)
|
||||
local m=bin.new()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user