summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-16 18:13:27 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-16 18:13:27 +0000
commit22b3f9cdf2a8f96e4de70775001093de3cd8debc (patch)
tree592e7bc7790e168cedda6a86e9ddc2493408d870
parent2ca2cf9124bf734c28f438c84afadfa413f0891e (diff)
download1989-dawn-of-freedom-22b3f9cdf2a8f96e4de70775001093de3cd8debc.tar.gz
Limit Securitate to Romania
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index d6e3b7a..8dc33a0 100644
--- a/rules.js
+++ b/rules.js
@@ -404,7 +404,7 @@ exports.view = function(state, player) {
} else if (player === COM) {
view.hand = game.communist_hand
- if (game.opp_power_hand) {view.opp_power_hand = [...game.dem_pwr_hand].sort((a, b) => a - b) }
+ if (game.opp_power_hand && game.pwr_struggle_in === 'Romania') {view.opp_power_hand = [...game.dem_pwr_hand].sort((a, b) => a - b) }
view.power_hand = [...game.com_pwr_hand].sort((a, b) => a - b)
}