summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-30 10:48:28 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-30 10:48:28 +0100
commit38f37a646f25dc3ce81e540419fe63f215c43068 (patch)
treef79b0c67e8b3d14c99eb05383ea5631ba4f83121 /lib
parent7311f07e16fc73c06d2ac601995c0955d83ac83c (diff)
downloadcolonial-twilight-38f37a646f25dc3ce81e540419fe63f215c43068.zip
colonial-twilight-38f37a646f25dc3ce81e540419fe63f215c43068.tar.gz
FLNRules : may_agitate_in? only if terror || \!oppose
Diffstat (limited to 'lib')
-rw-r--r--lib/colonial_twilight/fln_rules.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/colonial_twilight/fln_rules.rb b/lib/colonial_twilight/fln_rules.rb
index 49a591e..2c5c00b 100644
--- a/lib/colonial_twilight/fln_rules.rb
+++ b/lib/colonial_twilight/fln_rules.rb
@@ -13,7 +13,7 @@ module ColonialTwilight
end
def may_agitate_in?(space)
- !space.country? && (space.fln_control? || space.fln_bases.positive?)
+ !space.country? && (space.fln_control? || space.fln_bases.positive?) && (space.terror.positive? || !space.oppose?)
end
def agitate_spaces(board)