Fix hunter turning into some other nightrole prematurely ending night on occasion

This commit is contained in:
skizzerz 2015-07-02 17:00:26 -05:00
parent b968f83e8b
commit 649649a355

View File

@ -3651,7 +3651,7 @@ def chk_nightdone(cli):
for p in var.HUNTERS:
# only remove one instance of their name if they have used hunter ability, in case they have templates
# the OTHER_KILLS check ensures we only remove them if they acted in a *previous* night
if p in nightroles and p not in var.OTHER_KILLS:
if p in var.ROLES["hunter"] and p not in var.OTHER_KILLS:
nightroles.remove(p)
# but remove all instances of their name if they are silenced