Fix silenced VG causing day transition to error out
This commit is contained in:
parent
7887b6b2d8
commit
3cab412a9b
@ -3155,16 +3155,12 @@ def transition_day(cli, gameid=0):
|
|||||||
onlybywolves.discard(monster)
|
onlybywolves.discard(monster)
|
||||||
|
|
||||||
wolfghostvictims = []
|
wolfghostvictims = []
|
||||||
for ghost, target in var.VENGEFUL_GHOSTS.items():
|
|
||||||
if target == "villagers":
|
|
||||||
victim = var.OTHER_KILLS[ghost]
|
|
||||||
killers[victim].append(ghost)
|
|
||||||
wolfghostvictims.append(victim)
|
|
||||||
|
|
||||||
for k, d in var.OTHER_KILLS.items():
|
for k, d in var.OTHER_KILLS.items():
|
||||||
victims.append(d)
|
victims.append(d)
|
||||||
onlybywolves.discard(d)
|
onlybywolves.discard(d)
|
||||||
killers[d].append(k)
|
killers[d].append(k)
|
||||||
|
if var.VENGEFUL_GHOSTS.get(k) == "villagers":
|
||||||
|
wolfghostvictims.append(d)
|
||||||
|
|
||||||
for k, d in var.DEATH_TOTEM:
|
for k, d in var.DEATH_TOTEM:
|
||||||
victims.append(d)
|
victims.append(d)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user