Commit d75c9513571a53d58715a20ee896a5383ac4c94d

Authored by zhangqijia
1 parent b42217e6

fix: searchAllRoleRpc协议返回错误

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/RoleAction.lua
@@ -537,7 +537,7 @@ function _M.searchAllRoleRpc(agent, data) @@ -537,7 +537,7 @@ function _M.searchAllRoleRpc(agent, data)
537 537
538 local rsp = result.data 538 local rsp = result.data
539 table.insert(rsp, {serverId=serverId, name=res.name, level=res.level} ) 539 table.insert(rsp, {serverId=serverId, name=res.name, level=res.level} )
540 - SendPacket(actionCodes.Role_unRegisterRpc, MsgPack.pack(rsp)) 540 + SendPacket(actionCodes.Role_searchAllRoleRpc, MsgPack.pack(rsp))
541 return true 541 return true
542 end 542 end
543 543