diff --git a/back/volume/src/pong/game/Game.ts b/back/volume/src/pong/game/Game.ts index fa6a863..5481711 100644 --- a/back/volume/src/pong/game/Game.ts +++ b/back/volume/src/pong/game/Game.ts @@ -110,14 +110,6 @@ export class Game { } async stop (): Promise { - if (this.waitingForTimeout) { - new Promise((resolve) => setTimeout(resolve, 1000)) - .then(() => { - void this.stop() - }) - .catch(() => {}) - } - if (this.timer !== null) { await this.pongService.saveResult(this.players, this.ranked) if (this.players.length !== 0) {