diff options
Diffstat (limited to 'back')
-rw-r--r-- | back/src/Game.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/back/src/Game.ts b/back/src/Game.ts index 00b05b4..a658927 100644 --- a/back/src/Game.ts +++ b/back/src/Game.ts @@ -195,8 +195,8 @@ export default class Game { delete p.disconnectListener; (() => { if (this.players[selectedPlayer].stack.length > 0) { - if (this.players[selectedPlayer].stack[0].suit === Suit.Diamonds || - this.players[selectedPlayer].stack[0].suit === Suit.Hearts) this.phase = 3; // Red card + if (this.players[selectedPlayer].stack[0].suit === Suit.Spades || + this.players[selectedPlayer].stack[0].suit === Suit.Clubs) this.phase = 3; // Red card this.players[selectedPlayer].flipped.push(this.players[selectedPlayer].stack[0]); this.players[selectedPlayer].stack.splice(0, 1); return; |