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)