From 211320ffb968447e8a7383880f8ec0fd43225017 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 11 Mar 2021 16:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=BB=E5=8A=A8=E9=80=80?= =?UTF-8?q?=E5=87=BA=E6=B8=B8=E6=88=8F=E5=90=8E,=20=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=BF=9B=E5=85=A5=E6=B8=B8=E6=88=8F=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/WebApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/WebApi.ts b/src/common/WebApi.ts index b798a69..dd524b3 100644 --- a/src/common/WebApi.ts +++ b/src/common/WebApi.ts @@ -169,7 +169,7 @@ export async function createRobot(data: any) { */ export async function leftGame(accountid: string, roomid: string) { debugRoom(`player dead and left game: ${roomid}, ${accountid}`) - const data = { roomid } + const data = { roomid, token: SERVER_TOKEN } let dataStr = JSON.stringify(data) const infoHost = await new Service().getInfoSvr() if (!infoHost) {