summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index ac6fda0..605b560 100644
--- a/rules.js
+++ b/rules.js
@@ -2444,9 +2444,11 @@ function goto_refill_market() {
if (game.market_cards[row][col] === 0) {
let c = game.deck.pop()
game.market_cards[row][col] = c
- if (instability > 0 && is_dominance_check(c)) {
- game.state = 'instability'
- return
+ if (is_dominance_check(c)) {
+ if (++instability > 1) {
+ game.state = 'instability'
+ return
+ }
}
}
}