aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--back/src/Game.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/back/src/Game.ts b/back/src/Game.ts
index e7e69ac..816754b 100644
--- a/back/src/Game.ts
+++ b/back/src/Game.ts
@@ -110,11 +110,11 @@ export default class Game {
}
while (this.lastPlayed > 0) { // Phase 2
await this.flip();
- this.lastPlayed--;
if (this.phase === 3 as number) { // Oops, flipped over a red card!
await this.giveup(); // The player who called BS won and now the challenged player must give up a card!
return;
}
+ this.lastPlayed--;
}
this.phase = 3;
await this.giveup(); // The player who called BS won and now they must give up a card!