diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-24 00:38:02 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-24 00:38:02 +0100 |
commit | 3bba00b794e9956a4f4ca5b851774af5a6506013 (patch) | |
tree | 947a44fbc35668b784b9ee840d7ab6df43dc345f | |
parent | 7f18725fedd24399652c0890a1b98a6354682b34 (diff) | |
download | andean-abyss-3bba00b794e9956a4f4ca5b851774af5a6506013.tar.gz |
Automatic resign menu.
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) { |