Acro: use an actual variable :|
This commit is contained in:
parent
b08059df78
commit
ac14c2a8e8
@ -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) +
|
||||||
|
Loading…
Reference in New Issue
Block a user