summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js16
1 files changed, 11 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 4a28647..03a6d82 100644
--- a/rules.js
+++ b/rules.js
@@ -3405,13 +3405,19 @@ function event_is_playable(card) {
if (card === C_REFORMER_REHABILITATED) {
return false
}
- // Check for Common European Home under Stasi
- else if (card === C_COMMON_EUROPEAN_HOME && game.active === DEM) {
- if (game.stasi_card === C_COMMON_EUROPEAN_HOME) {
- return false
+ // Check for Common European Home
+ else if (card === C_COMMON_EUROPEAN_HOME) {
+ if (game.active === DEM) {
+ if (game.stasi_card === C_COMMON_EUROPEAN_HOME) {
+ return false
+ } else {
+ if (ceh_card_check().length > 0)
+ return true
+ }
} else {
- if (ceh_card_check().length > 0)
+ if (ceh_card_check().length > 0) {
return true
+ }
}
}