Commit d75c9513571a53d58715a20ee896a5383ac4c94d
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 | 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 | ... | ... |