Fix another bug
This commit is contained in:
parent
df75aa721e
commit
45dd3cb2ef
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue