Fix yet another bug with the hunter conversion

This commit is contained in:
skizzerz 2017-08-29 17:36:01 -05:00
parent 9c0f96decc
commit b2589caccb
2 changed files with 1 additions and 5 deletions

View File

@ -12,10 +12,6 @@ from src.decorators import cmd, event_listener
from src.messages import messages
from src.events import Event
# TODO: some additional stuff with blessed villager has not been split yet,
# notably the interactions with assassin and mad scientist, need to split those out too
# as part of splitting assassin/MS (new events will be required)
@event_listener("transition_day", priority=4.3)
def on_transition_day(evt, cli, var):
pl = list_players()

View File

@ -109,7 +109,7 @@ def on_transition_day(evt, cli, var):
for k, d in list(KILLS.items()):
evt.data["victims"].append(d.nick)
evt.data["onlybywolves"].discard(d.nick)
evt.data["killers"][d].append(k.nick)
evt.data["killers"][d.nick].append(k.nick)
# important, otherwise our del_player listener lets hunter kill again
del KILLS[k]