From 5c357baa81141dd6195f161f4fc285d8c1b03782 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 6 Dec 2007 23:46:45 +0000 Subject: wheelfortune: display round count on cancel --- data/rbot/plugins/games/wheelfortune.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/rbot') 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 -- cgit v1.2.3