Fix yet another bug with the hunter conversion
This commit is contained in:
parent
9c0f96decc
commit
b2589caccb
@ -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()
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user