mirror of
https://github.com/rayaman/multi.git
synced 2026-09-05 07:27:35 -04:00
Fixed a bug in the trigger module
It would return 2 self references upon connection instead of 1
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user