Reset some rate limits when game is started

This commit is contained in:
nyuszika7h 2015-06-09 16:56:30 +02:00
parent 47b18d3655
commit c5fa4445b2

View File

@ -6093,6 +6093,10 @@ def start(cli, nick, chan, forced = False, restart = ""):
var.TIMERS[name][0].cancel()
del var.TIMERS[name]
var.LAST_STATS = None
var.LAST_TIME = None
var.LAST_VOTES = None
if not restart:
cli.msg(chan, ("{0}: Welcome to Werewolf, the popular detective/social party "+
"game (a theme of Mafia). Using the \u0002{1}\u0002 game mode.").format(", ".join(pl), var.CURRENT_GAMEMODE.name))