summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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