summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight/fln_bot.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-09-03 17:24:21 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-09-03 17:24:21 +0200
commita503d93dbc45062abaa27f8f5d394001dc2e25e2 (patch)
treea51c067f1a68bb5d1c71f5b1847c810ffb64af00 /lib/colonial_twilight/fln_bot.rb
parent75b0668650af1111a7de4b7420d2ae928595a23b (diff)
downloadcolonial-twilight-a503d93dbc45062abaa27f8f5d394001dc2e25e2.zip
colonial-twilight-a503d93dbc45062abaa27f8f5d394001dc2e25e2.tar.gz
Game : quick and dirty turn and actions save system
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 3c00b26..4b14400 100644
--- a/lib/colonial_twilight/fln_bot.rb
+++ b/lib/colonial_twilight/fln_bot.rb
@@ -613,7 +613,7 @@ module ColonialTwilight
@expended_resources += cost unless h.has_key? :already_expended # _reserve_agitate
h[:resources] = {:cost=>cost, :value=>@board.fln_resources}
h[:controls] = h[:controls].inject({}){|ch,(k,v)| ch[k] = [v, k.control] if v != k.control; ch}
- @ui.show_player_action self, h
+ @game.action_done self, h
true
end