summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-09 09:48:24 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-09 09:48:24 +0200
commit23073ffb11a0a8ea1437933618b98e8d18b2f7b1 (patch)
treefd34b06b7b2045f2aab01defefff65014f7ec62e /lib/colonial_twilight
parent853ab7db1c4bcb1a8f95b400435c24a5e8bcf6c7 (diff)
downloadcolonial-twilight-23073ffb11a0a8ea1437933618b98e8d18b2f7b1.zip
colonial-twilight-23073ffb11a0a8ea1437933618b98e8d18b2f7b1.tar.gz
fix FLNRules#max_fln_to_place_in
Diffstat (limited to 'lib/colonial_twilight')
-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 481a6ee..5f8fd48 100644
--- a/lib/colonial_twilight/fln_rules.rb
+++ b/lib/colonial_twilight/fln_rules.rb
@@ -21,7 +21,7 @@ module ColonialTwilight
end
def max_fln_to_place_in(space)
- space.fln_bases.positive? ? space.pop + 1 - space.fln_cubes : 1
+ space.fln_bases.positive? ? space.fln_bases + space.pop - space.fln_cubes : 1
end
# March 3.3.2