summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index f6ced70..4514a4d 100644
--- a/rules.js
+++ b/rules.js
@@ -8117,8 +8117,9 @@ function goto_game_over(result) {
game.current = -1
game.active = "None"
game.result = result
+ game.victory = game.result + " won!"
log_br()
- log(game.result + " won!")
+ log(game.victory)
return true
}
@@ -8212,7 +8213,7 @@ exports.view = function (state, role) {
view.propaganda = game.prop.step
if (game.result) {
- view.prompt = game.result + " won!"
+ view.prompt = game.victory
} else if (!is_current_role(role)) {
let inactive = states[game.state].inactive
if (!inactive) {