summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-06 23:46:45 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-06 23:46:45 +0000
commit5c357baa81141dd6195f161f4fc285d8c1b03782 (patch)
tree1b6eb543e92ee4714c20e2383ec1062873c52963 /data/rbot
parentebc19109c0ed7b5474881d982b65d293e6113169 (diff)
wheelfortune: display round count on cancel
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/games/wheelfortune.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb
index 301eaf13..fee5b7f9 100644
--- a/data/rbot/plugins/games/wheelfortune.rb
+++ b/data/rbot/plugins/games/wheelfortune.rb
@@ -325,7 +325,9 @@ class WheelOfFortune < Plugin
def do_cancel(ch)
game = @games.delete(ch)
chan = ch.to_s
- @bot.say chan, _("Wheel-of-Fortune game cancelled after %{count} rounds. Partial score:")
+ @bot.say chan, _("Wheel-of-Fortune game cancelled after %{count} rounds. Partial score:") % {
+ :count => game.round
+ }
score_table(chan, game)
end