Commit 7f298cd035473289d47363b87af01c231e01c369
1 parent
d3302151
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 | 537 | |
538 | 538 | local rsp = result.data |
539 | 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 | 541 | return true |
542 | 542 | end |
543 | 543 | ... | ... |