From 314bce21457236a68ceb1c4a3d1f9907806a49df Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 2 Feb 2021 11:04:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=89=8B=E5=85=B3=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E6=97=B6=E9=97=B4*1000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/GeneralRoom.ts | 3 ++- src/rooms/commands/BeginGameCommand.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index e82f038..681191e 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -196,7 +196,8 @@ export class GeneralRoom extends Room { let timeOverFun = function () { handler && handler(); } - this.gameClock.set(name, this.clock.setTimeout(timeOverFun, millisecond , name)); + //FixMe:: 移除*1000 + this.gameClock.set(name, this.clock.setTimeout(timeOverFun, millisecond * 1000 , name)); } /** diff --git a/src/rooms/commands/BeginGameCommand.ts b/src/rooms/commands/BeginGameCommand.ts index a2f9b89..717c6e0 100644 --- a/src/rooms/commands/BeginGameCommand.ts +++ b/src/rooms/commands/BeginGameCommand.ts @@ -18,6 +18,7 @@ export class BeginGameCommand extends Command { // let card1 = gameUtil.initCardQue(card0.length + 1); // let cardAll = card0.concat(card1); // cardAll.randomSort(); + //FixMe:: 移除 let card0 = gameUtil.initSampleCards(1) // let card1 = gameUtil.initSampleCards(card0.length + 1) // let cardAll = card0.concat(card1)