From 0904af34d3c395fca5021093683d7ed5b423f1ad Mon Sep 17 00:00:00 2001 From: yuexin Date: Tue, 15 Dec 2020 22:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=E7=81=B5=E6=B4=BB=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/commands/NextTurnCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rooms/commands/NextTurnCommand.ts b/src/rooms/commands/NextTurnCommand.ts index a404d24..17fdde1 100644 --- a/src/rooms/commands/NextTurnCommand.ts +++ b/src/rooms/commands/NextTurnCommand.ts @@ -28,7 +28,7 @@ export class NextTurnCommand extends Command { let moreRoundTime = singleton(GameEnv).roundExtTime * 1000; let maxTime = 20 * 1000; for (let [, p] of this.state.players) { - p.extraTime = Math.min(p.extraTime + moreRoundTime * 1000, maxTime); + p.extraTime = Math.min(p.extraTime + moreRoundTime, maxTime); } } }