summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/fln_bot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/colonial_twilight/fln_bot.rb')
-rw-r--r--lib/colonial_twilight/fln_bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/colonial_twilight/fln_bot.rb b/lib/colonial_twilight/fln_bot.rb
index ae4536b..0cb8b46 100644
--- a/lib/colonial_twilight/fln_bot.rb
+++ b/lib/colonial_twilight/fln_bot.rb
@@ -610,7 +610,7 @@ module ColonialTwilight
# :pass, :event, :agitate
end
cost = h[:fln_resources]
- @board.fln_resources -= cost
+ @board.shift_resources :fln, -cost
@expended_resources += cost unless h.has_key? :already_expended # _reserve_agitate
h[:resources] = {:cost=>cost, :value=>@board.fln_resources}
h[:controls].each do |k,v|