Commit 7338c8056ccbaa1af15418ac5606c305237d14c2
Merge branch 'develop' of 120.26.43.151:wasteland/server into develop
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/actions/RoleAction.lua
| ... | ... | @@ -264,7 +264,8 @@ function _M.loginRpc( agent, data ) |
| 264 | 264 | |
| 265 | 265 | -- 发下缓存的世界消息 |
| 266 | 266 | local worldChatResponse = {worldChats = {}} |
| 267 | - local ok, msgs = pcall(skynet.call, '.globald', "lua", "getWorldMsg", role._channelIdx) | |
| 267 | + -- local ok, msgs = pcall(skynet.call, '.globald', "lua", "getWorldMsg", role._channelIdx) | |
| 268 | + local ok, msgs = true, {} | |
| 268 | 269 | if not ok then |
| 269 | 270 | msgs = {} |
| 270 | 271 | end |
| ... | ... | @@ -945,7 +946,7 @@ function _M.chatRpc(agent, data) |
| 945 | 946 | end |
| 946 | 947 | end |
| 947 | 948 | mcast_util.pub_world(actionCodes.Role_chat, MsgPack.pack(response)) |
| 948 | - pcall(skynet.send, '.globald', "lua", "sendWorldMsg", role._channelIdx, response) | |
| 949 | + -- pcall(skynet.send, '.globald', "lua", "sendWorldMsg", role._channelIdx, response) | |
| 949 | 950 | role:mylog("role_action", {desc = "chatWorld", text1 = content}) |
| 950 | 951 | end, |
| 951 | 952 | -- 私聊 | ... | ... |