Skip to content

Commit 7b4285e

Browse files
committed
games: Fix Splendor double-Dragons
1 parent b6e80c1 commit 7b4285e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/ps/games/splendor/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ export class Splendor extends BaseGame<State> {
310310
reservedId = card.id;
311311
}
312312

313-
this.receiveTokens({ [TOKEN_TYPE.DRAGON]: 1 }, playerData);
314313
const willReceiveDragon = this.state.board.tokens[TOKEN_TYPE.DRAGON] > 0;
315314
if (willReceiveDragon) this.receiveTokens({ [TOKEN_TYPE.DRAGON]: 1 }, playerData);
316315
else this.room.privateSend(player.id, 'You reserved a card, but there were no Dragon tokens left to receive.' as ToTranslate);

0 commit comments

Comments
 (0)