Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skizzerz committed Nov 22, 2023
1 parent 21e22cf commit 558f40b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/roles/helper/shamans.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,18 @@ def on_transition_day_begin2(evt: Event, var: GameState):
def on_del_player(evt: Event, var: GameState, player: User, all_roles: set[str], death_triggers: bool):
del SHAMANS[:player:]
for a, b in list(SHAMANS.items()):
for totem, c in b.items():
for totem, c in list(b.items()):
if player in c:
SHAMANS[a][totem].remove(player)
del RETARGET[:player:]
for a, b in list(RETARGET.items()):
for c, d in b.items():
for c, d in list(b.items()):
if player in (c, d):
del RETARGET[a][c]
del ORIG_TARGET_MAP[:player:]
for a, b in list(ORIG_TARGET_MAP.items()):
for totem, c in b.items():
for d, e in c.items():
for totem, c in list(b.items()):
for d, e in list(c.items()):
if player in (d, e):
del ORIG_TARGET_MAP[a][totem][d]

Expand Down

0 comments on commit 558f40b

Please sign in to comment.