From 982e5afa11f7f7a2d51515bb7414549266cdecf3 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Mon, 9 Apr 2012 15:34:40 -0500 Subject: [PATCH] check for night end after death of any player --- modules/wolfgame.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 97c912a..d8cc49c 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -879,6 +879,8 @@ def del_player(cli, nick, forced_death = False, devoice = True): if nick in var.WOUNDED: var.WOUNDED.remove(nick) chk_decision(cli) + elif var.PHASE == "night" and ret: + chk_nightdone(cli) return ret