From a0fd49d6a9eea382946f188921605de25cfb18a7 Mon Sep 17 00:00:00 2001 From: zhl Date: Sat, 8 May 2021 13:41:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=AE=A1=E6=97=B6=E5=99=A8=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E5=AE=9A=E4=B9=89=E7=9A=84=E6=97=A5=E5=BF=97=E7=BA=A7?= =?UTF-8?q?=E5=88=AB=E8=B0=83=E6=95=B4=E4=B8=BAdebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/PuzzleMathRoom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rooms/PuzzleMathRoom.ts b/src/rooms/PuzzleMathRoom.ts index 53565e3..64323b6 100644 --- a/src/rooms/PuzzleMathRoom.ts +++ b/src/rooms/PuzzleMathRoom.ts @@ -173,7 +173,7 @@ export class PuzzleMathRoom extends Room { beginSchedule(millisecond: number, handler: Function, name: string): void { debugRoom(`begin schedule: `, name, millisecond / 1000) if (this.gameClock.has(name) && this.gameClock.get(name)?.active) { - error(`当前已存在进行中的gameClock: ${ name }`) + debugRoom(`当前已存在进行中的gameClock: ${ name }, 剩余时间: ${this.gameClock.get(name).time - this.gameClock.get(name).elapsedTime}`) this.gameClock.get(name).clear() this.gameClock.delete(name) }