summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-13 01:07:21 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commit90426cda2fa10b5b1186ae4ab0788ca7f7f8a86a (patch)
treebe22003009664f20d64d324ee30bd13f59b9dc68
parent4311cea5e0007301aa0db1e5eff85081cbd0382e (diff)
downloadpax-pamir-90426cda2fa10b5b1186ae4ab0788ca7f7f8a86a.tar.gz
Show rulers in UI.
-rw-r--r--rules.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 2e3c13e..cca21fb 100644
--- a/rules.js
+++ b/rules.js
@@ -2756,6 +2756,14 @@ exports.view = function(state, current) {
market_coins: game.market_coins,
players: game.players,
selected: game.selected,
+ ruler: [
+ ruler_of_region(Persia),
+ ruler_of_region(Transcaspia),
+ ruler_of_region(Herat),
+ ruler_of_region(Kabul),
+ ruler_of_region(Kandahar),
+ ruler_of_region(Punjab)
+ ],
};
if (game.state === 'game_over') {