From 6d2dcd56116fd7e41fcc0c2ee699f8e1a584600d Mon Sep 17 00:00:00 2001 From: James Scott Date: Sun, 16 Dec 2012 22:22:42 -0500 Subject: [PATCH] added workaround until bear's code is ready --- plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 8e68115..105e1a2 100644 --- a/plugin.py +++ b/plugin.py @@ -232,9 +232,10 @@ class Cah(callbacks.Plugin): game.voting = False winner = self._tallyVotes(game.votes) print winner - filledCard = game.game.end_round(winner[0][0], self.cardsPlayed) + game.game.end_round(winner[0][0], self.cardsPlayed) game.voted = [] - game._msg(self.channel, "%s wins the round with %s" % (ircutils.bold(winner[0][0]), ircutils.bold(filledCard))) + game._msg(self.channel, "%s wins the round!" % ircutils.bold(winner[0][0])) + #game._msg(self.channel, "%s wins the round with %s" % (ircutils.bold(winner[0][0]), ircutils.bold(filledCard))) game.nextround() ###### END VOTING LOGIC ######