From fdd42a927be2769df9bad97309084231f13aa092 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 4 Nov 2015 19:19:57 -0600 Subject: [PATCH] meow --- src/wolfgame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 7dac911..7874c1f 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -2945,7 +2945,8 @@ def del_player(cli, nick, forced_death=False, devoice=True, end_game=True, death pl.remove(bg) break elif "blessing" in var.ACTIVE_PROTECTIONS[target] or (var.GAMEPHASE == "day" and target in var.ROLES["blessed villager"]): - var.ACTIVE_PROTECTIONS[target].remove("blessing") + if "blessing" in var.ACTIVE_PROTECTIONS[target]: + var.ACTIVE_PROTECTIONS[target].remove("blessing") # don't message the channel whenever a blessing blocks a kill, but *do* let the dullahan know so they don't try to report it as a bug pm(cli, nick, "\u0002{0}\u0002 seems to be blessed, causing your assassination attempt to fail.".format(target)) else: