Fix silenced ghost still killing (at random)

This commit is contained in:
skizzerz 2015-04-28 20:47:53 -05:00
parent dc9196237c
commit 59a2247a12

View File

@ -3324,7 +3324,7 @@ def transition_day(cli, gameid=0):
for wolf in wolves: for wolf in wolves:
villagers.remove(wolf) villagers.remove(wolf)
for ghost, target in var.VENGEFUL_GHOSTS.items(): for ghost, target in var.VENGEFUL_GHOSTS.items():
if target[0] == "!": if target[0] == "!" or ghost in var.SILENCED:
continue continue
if ghost not in var.OTHER_KILLS: if ghost not in var.OTHER_KILLS:
if target == "wolves": if target == "wolves":