From 3845d4e0b3a20157de7665e212b4ca1fd0dc6a46 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 9 Oct 2015 12:44:26 -0400 Subject: [PATCH] fix matchmaker, warlock, and piper causing night to end early if they !quit after acting alpha wolf and turncoat also aren't removed from variables when quitting, but chk_nightdone checks if those roles are still in pl for some reason --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index ba33762..0d4640f 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -2990,7 +2990,7 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, # remove players from night variables # the dicts are handled above, these are the lists of who has acted which is used to determine whether night should end # if these aren't cleared properly night may end prematurely - for x in (var.SEEN, var.PASSED, var.HUNTERS, var.HEXED): + for x in (var.SEEN, var.PASSED, var.HUNTERS, var.HEXED, var.MATCHMAKERS, var.CURSED, var.CHARMERS): x.discard(nick) if var.PHASE == "day" and not forced_death and ret: # didn't die from lynching var.VOTES.pop(nick, None) # Delete other people's votes on the player