From 5370b8d9add8726b7625c0d06aef19ec42408685 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 18 May 2023 13:15:30 +0200 Subject: Check that there are available Sabotage markers in sabotage phase. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.js b/rules.js index d7e3a9b..cd158f6 100644 --- a/rules.js +++ b/rules.js @@ -6109,6 +6109,8 @@ function is_adjacent_to_city_farc_control(s) { } function can_sabotage_phase() { + if (count_terror_and_sabotage() >= 40) + return false for (let s = first_loc; s <= last_loc; ++s) if (can_sabotage_phase_space(s)) return true -- cgit v1.2.3