Reapply 217c8ffc8e089ad733b5d7c69dc47cc3d6484df6

Somehow got wiped in a recent push.
This commit is contained in:
jacob1 2015-11-06 12:07:34 -05:00 committed by skizzerz
parent e6c36830c4
commit a2cd0d15e2

View File

@ -3097,7 +3097,8 @@ 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:
if ismain:
if ret:
join_deadchat(cli, *deadchat)
del deadchat[:]
if var.PHASE in ("night", "day") and ret: