Some small fixes for harlot
This commit is contained in:
parent
bfc5e6a9dd
commit
7e9bbcaf3c
@ -3516,7 +3516,7 @@ def transition_day(cli, gameid=0):
|
||||
victims.append(v)
|
||||
elif v.nick in var.ROLES["bodyguard"] and v.nick in angel.GUARDED and users._get(angel.GUARDED[v.nick]) in victims_set: # FIXME
|
||||
vappend.append(v)
|
||||
elif v.nick in var.ROLES["harlot"] and harlot.VISITED[v] in victims_set:
|
||||
elif v in harlot.VISITED and harlot.VISITED[v] in victims_set:
|
||||
vappend.append(v)
|
||||
else:
|
||||
victims.append(v)
|
||||
@ -3534,7 +3534,7 @@ def transition_day(cli, gameid=0):
|
||||
if v.nick in var.ROLES["bodyguard"] and users._get(angel.GUARDED.get(v.nick)) not in vappend: # FIXME
|
||||
vappend.remove(v)
|
||||
victims.append(v)
|
||||
elif v.nick in var.ROLES["harlot"] and harlot.VISITED.get(v) not in vappend:
|
||||
elif harlot.VISITED.get(v) not in vappend:
|
||||
vappend.remove(v)
|
||||
victims.append(v)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user