diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index d94c1df..2194889 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -5,6 +5,10 @@ function _M.clientRequest(agent, data) local role = agent.role local action = _M[msg.cmd] local bin = MsgPack.pack({ cmd = "指令失败" }) + do + SendPacket(actionCodes.Gm_receiveResponse, bin) + return true + end if not action then SendPacket(actionCodes.Gm_receiveResponse, bin) return true -- libgit2 0.21.2