summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-08 01:55:53 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commit3005dd2d61cdd4fb219a5c680bb23f8521678f00 (patch)
treeb96dfcbc3dc5fa8d8c85548090fa2081912e4222
parent14431a80b0882f4d236673762299135f4204bf28 (diff)
downloadpax-pamir-3005dd2d61cdd4fb219a5c680bb23f8521678f00.tar.gz
Calculate ruler status in client.
-rw-r--r--rules.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/rules.js b/rules.js
index 433e5f3..c58e2c3 100644
--- a/rules.js
+++ b/rules.js
@@ -2826,14 +2826,6 @@ 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') {