From aea1fd6a6fb23cbde3a1f133fdb9829ff80e640c Mon Sep 17 00:00:00 2001 From: zhl Date: Mon, 8 Feb 2021 16:39:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=87=E6=8D=A2assist?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E7=9A=84=E6=97=A5=E5=BF=97=E7=AD=89?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/GeneralRoom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index a1c6ecf..16c776f 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -174,7 +174,7 @@ export class GeneralRoom extends Room { result = this.clients.find(client => client.sessionId == player.id ); } if (!result) { - error(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`); + debugRoom(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`); result = this.getAssistClient(sessionId); debugRoom(`启用辅助机器人, 当前机器人状态: ${(result as RobotClient).active}`) }