From a2cd0d15e2ebea736fd77a4642a41c8bae8cf826 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 6 Nov 2015 12:07:34 -0500 Subject: [PATCH] Reapply 217c8ffc8e089ad733b5d7c69dc47cc3d6484df6 Somehow got wiped in a recent push. --- src/wolfgame.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index c043996..7249279 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -3097,8 +3097,9 @@ def del_player(cli, nick, forced_death=False, devoice=True, end_game=True, death var.DEAD.add(nick) ret = not chk_win(cli, end_game) # only join to deadchat if the game isn't about to end - if ismain and ret: - join_deadchat(cli, *deadchat) + if ismain: + if ret: + join_deadchat(cli, *deadchat) del deadchat[:] if var.PHASE in ("night", "day") and ret: # remove the player from variables if they're in there