From a42753c399083ddf9a1325aff42a4e1716d5b976 Mon Sep 17 00:00:00 2001 From: zhouhaihai Date: Tue, 19 Jan 2021 11:32:14 +0800 Subject: [PATCH] 关闭 gm --- src/actions/GmAction.lua | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) 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