fix bug where targeted harlot could still shoot wolves (and get an extra bullet)

This commit is contained in:
jacob1 2014-02-18 20:47:03 -05:00
parent 8342114844
commit ffdd94ed4a

View File

@ -1412,6 +1412,7 @@ def transition_day(cli, gameid=0):
if var.HVISITED.get(victim):
message.append("The wolves' selected victim was a harlot, "+
"who was not at home last night.")
victim = ""
if victim and (victim not in var.ROLES["harlot"] or # not a harlot
not var.HVISITED.get(victim)): # harlot stayed home
message.append(("The dead body of \u0002{0}\u0002, a "+