Acro: use an actual variable :|

This commit is contained in:
Brian S. Stephan 2012-03-02 20:10:39 -06:00
parent b08059df78
commit ac14c2a8e8

View File

@ -172,8 +172,7 @@ class Acro(Module):
self.game.rounds.append(self.AcroRound()) self.game.rounds.append(self.AcroRound())
acro = self._generate_acro() acro = self._generate_acro()
self.game.rounds[-1].acro = acro self.game.rounds[-1].acro = acro
sleep_time = self.game.rounds[-1].seconds_to_submit + sleep_time = self.game.rounds[-1].seconds_to_submit + (self.game.rounds[-1].seconds_to_submit_step * (len(acro)-3))
(self.seconds_to_submit_step * (len(acro)-3))
self.sendmsg(self.game.connection, self.game.channel, self.sendmsg(self.game.connection, self.game.channel,
"the round has started! your acronym is '{0:s}'. ".format(acro) + "the round has started! your acronym is '{0:s}'. ".format(acro) +