added workaround until bear's code is ready

This commit is contained in:
James Scott 2012-12-16 22:22:42 -05:00
parent 4fb1dcae94
commit 6d2dcd5611
1 changed files with 3 additions and 2 deletions

View File

@ -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 ######