From 90426cda2fa10b5b1186ae4ab0788ca7f7f8a86a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 13 May 2022 01:07:21 +0200 Subject: Show rulers in UI. --- rules.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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') { -- cgit v1.2.3