fixes bug

This commit is contained in:
pb-coding 2023-09-25 16:59:52 +02:00
parent 7c91ca112e
commit 96dfc35b1e

View file

@ -478,7 +478,7 @@ export class Game {
const alreadyClosedPlayers = this.players.filter(
(player) => player.closedRound
);
if (alreadyClosedPlayers.length > 1) return;
if (alreadyClosedPlayers.length > 0) return; // TODO: check if this is correct with more than 2 players
const playerWithAllCardsRevealed = this.players.find((player) =>
player.knownCardPositions.every(