summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js1
-rw-r--r--rules.ts1
2 files changed, 2 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)) {
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)