diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-05 23:19:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-06-05 23:19:25 +0200 |
commit | de18086709f3e19e7bab269d3fecb74ca47cb4b8 (patch) | |
tree | eda69fabaeeda229d2b5d807fa49f7b2f72f424a | |
parent | 203e5ccbf475135e5e177cda78f0acb00aa5f7fb (diff) | |
download | friedrich-de18086709f3e19e7bab269d3fecb74ca47cb4b8.tar.gz |
reveal troops and hands at game over
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4519,6 +4519,8 @@ exports.view = function (state, player) { if (game.state === "game_over") { view.prompt = game.victory + view.troops = game.troops + view.hand = game.hand } else if (game.active !== player) { let inactive = states[game.state].inactive || game.state if (typeof inactive === "function") |