summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-04 20:18:48 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-04 20:18:48 +0200
commitaa469c2d953315a28b70f3662a5f951c3ae44061 (patch)
tree81abc60166894b4ad25adbf1d9dea947a60bc1a2 /rules.js
parentb36ed77d9174aaac0a315da65001508cea5622ee (diff)
downloadland-and-freedom-aa469c2d953315a28b70f3662a5f951c3ae44061.tar.gz
Show bag of glory at game end.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 046a003..1ae8f66 100644
--- a/rules.js
+++ b/rules.js
@@ -365,6 +365,7 @@ function game_view(state, current) {
view.bag_of_glory = game.bag_of_glory;
if (game.state === 'game_over') {
view.prompt = game.victory;
+ view.bag_of_glory = game.bag_of_glory;
}
else if (current !== game.active &&
!game.active.includes(current)) {