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) {