调整切换assist机器人的日志等级

This commit is contained in:
zhl 2021-02-08 16:39:28 +08:00
parent 98e46c51c9
commit aea1fd6a6f

View File

@ -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}`)
}