diff --git a/src/client/index.html b/src/client/index.html index 874c9de83..347258a68 100644 --- a/src/client/index.html +++ b/src/client/index.html @@ -28,7 +28,7 @@

OpenFront.io

-

(v0.12.0)

+

(v0.12.1)


diff --git a/src/server/GameServer.ts b/src/server/GameServer.ts index b0186e22c..60c130509 100644 --- a/src/server/GameServer.ts +++ b/src/server/GameServer.ts @@ -208,7 +208,7 @@ export class GameServer { return GamePhase.Lobby } - if (this.activeClients.length == 0 && now > this.createdAt + this.config.lobbyLifetime() + 30 * 60) { // wait at least 30s before ending game + if (this.activeClients.length == 0 && now > this.createdAt + this.config.lobbyLifetime() + 30 * 60 * 1000) { // wait at least 30s before ending game return GamePhase.Finished } @@ -218,5 +218,4 @@ export class GameServer { hasStarted(): boolean { return this._hasStarted } - } \ No newline at end of file