mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 15:54:52 +09:00
callback bug
This commit is contained in:
1 parent
46f0710470
commit
f7663a3b9b
1 file changed
+1
-1
@@ -51,7 +51,7 @@ function server.add_callback(callback,uuid)
|
||||
local args = args or {}
|
||||
local uuid = uuid or server.get_uuid(callback)
|
||||
debug_write({'callback','ADD'},uuid)
|
||||
table.insert(global.exp_core.server.callbacks,{fun=callback,uuid=uuid})
|
||||
global.exp_core.server.callbacks[uuid]={fun=callback,uuid=uuid}
|
||||
server.refresh_uuid(uuid)
|
||||
return uuid
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user