summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-23 11:41:06 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit01a272e63afb8a051aa7583ad596bc40f992111a (patch)
tree37b33f5e250c5561a11ac3a160c7097317b02b7d /rules.js
parenta8fcb2967be58b869c3c9a09b6d612282f74494f (diff)
downloadandean-abyss-01a272e63afb8a051aa7583ad596bc40f992111a.tar.gz
Improve display of this card/next card/deck at the edge of time.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
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 = {