summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/games/wheelfortune.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb
index d873c9e4..37eb63b5 100644
--- a/data/rbot/plugins/games/wheelfortune.rb
+++ b/data/rbot/plugins/games/wheelfortune.rb
@@ -9,7 +9,8 @@
# Wheel-of-Fortune Question/Answer
class WoFQA
- attr_accessor :cat, :clue, :answer, :hint
+ attr_accessor :cat, :clue, :hint
+ attr_reader :answer
def initialize(cat, clue, ans=nil)
@cat = cat # category
@clue = clue # clue phrase
@@ -488,7 +489,7 @@ class WheelOfFortune < Plugin
}
score_table(m.channel, game)
@games.delete(ch)
- else :more
+ else
m.reply _("%{bold}%{color}%{name}%{bold}, round %{count}%{nocolor} -- score so far:") % {
:bold => Bold,
:color => Irc.color(:green),