summaryrefslogtreecommitdiff
path: root/rules.ts
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.ts
parentb36ed77d9174aaac0a315da65001508cea5622ee (diff)
downloadland-and-freedom-aa469c2d953315a28b70f3662a5f951c3ae44061.tar.gz
Show bag of glory at game end.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.ts b/rules.ts
index 2727d4b..fa87589 100644
--- a/rules.ts
+++ b/rules.ts
@@ -555,6 +555,7 @@ function game_view(state: Game, current: Player | 'Observer') {
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 as Player)