From 01a272e63afb8a051aa7583ad596bc40f992111a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 23 Apr 2023 11:41:06 +0200 Subject: Improve display of this card/next card/deck at the edge of time. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b856326..29d8da9 100644 --- a/rules.js +++ b/rules.js @@ -7661,8 +7661,8 @@ function is_current_role(role) { exports.view = function (state, role) { load_game(state) - let this_card = game.deck[0] - let next_card = game.deck[1] + let this_card = game.deck[0] | 0 + let next_card = game.deck[1] | 0 let deck_size = Math.max(0, game.deck.length - 2) view = { -- cgit v1.2.3