summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/fln_rules.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-21 17:44:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-21 17:44:17 +0200
commitfc89b01224150bd0e4e32e92494539e890dc90ae (patch)
treea5ffe286559b66c2115fbac86bfe7ba1701d57dc /lib/colonial_twilight/fln_rules.rb
parent23073ffb11a0a8ea1437933618b98e8d18b2f7b1 (diff)
downloadcolonial-twilight-fc89b01224150bd0e4e32e92494539e890dc90ae.zip
colonial-twilight-fc89b01224150bd0e4e32e92494539e890dc90ae.tar.gz
Forces : #update_control return true if changed
Diffstat (limited to 'lib/colonial_twilight/fln_rules.rb')
-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 5f8fd48..f260dea 100644
--- a/lib/colonial_twilight/fln_rules.rb
+++ b/lib/colonial_twilight/fln_rules.rb
@@ -20,7 +20,7 @@ module ColonialTwilight
board.search(&method(:may_agitate_in?))
end
- def max_fln_to_place_in(space)
+ def max_placable_flns(space)
space.fln_bases.positive? ? space.fln_bases + space.pop - space.fln_cubes : 1
end