mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-25 15:43:12 +09:00
Emit fix
This commit is contained in:
1 parent
5b407d3d9c
commit
46f0710470
1 file changed
+1
-1
@@ -47,7 +47,7 @@ function server.emit(code, callback)
|
|||||||
end
|
end
|
||||||
--adds a call back that can be ran with a command
|
--adds a call back that can be ran with a command
|
||||||
function server.add_callback(callback,uuid)
|
function server.add_callback(callback,uuid)
|
||||||
if type(command) == 'function' then
|
if type(callback) == 'function' then
|
||||||
local args = args or {}
|
local args = args or {}
|
||||||
local uuid = uuid or server.get_uuid(callback)
|
local uuid = uuid or server.get_uuid(callback)
|
||||||
debug_write({'callback','ADD'},uuid)
|
debug_write({'callback','ADD'},uuid)
|
||||||
|
|||||||
Reference in new issue
Block a user