]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
hangman: space scores
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 7 Mar 2009 11:20:22 +0000 (12:20 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 7 Mar 2009 11:20:22 +0000 (12:20 +0100)
data/rbot/plugins/games/hangman.rb

index c5d7656fe3f5f31a5555525246bcd8f5ba3e33d0..c0a5ddc32c14590c0e25948758e24356d55c0b78 100644 (file)
@@ -389,7 +389,7 @@ class HangmanPlugin < Plugin
         end
 
         m.reply _("%{sentence} %{again} %{scores}") % {
-          :sentence => sentence, :again => again, :scores => scores
+          :sentence => sentence, :again => again, :scores => scores.join(' ')
         }, :nick => true
 
         if rand(5).zero?